use the type than the regExp for parse a number value