src/HumRegex.cpp
double HumRegex::getMatchDouble(int index) {
	string value = m_matches.str(index);
	if (value.size() > 0) {
		return stod(value);
	} else {
		return 0.0;
	}
}
//////////////////////////////
//
// HumRegex::getMatchDouble -- Get the match interpreted as a double.
//
:getMatchDouble -- Get the match interpreted as a double.
: getMatchDouble -- Get the match interpreted as a double .
double HumRegex::getMatchDouble(int index) {
	string value = m_matches.str(index);
	if (value.size() > 0) {
		return stod(value);
	} else {
		return 0.0;
	}
}
double HumRegex :: getMatchDouble ( int index ) { string value = m_matches . str ( index ) ; if ( value . size ( ) > 0 ) { return stod ( value ) ; } else { return 0.0 ; } }
HumRegex::getMatchDouble -- Get the match interpreted as a double.
HumRegex :: getMatchDouble -- Get the match interpreted as a double .