REGEX_FLOAT constant
String
const REGEX_FLOAT
Regex of positive float.
Implementation
static const String REGEX_FLOAT =
"^-?([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0)\$";
Regex of positive float.
static const String REGEX_FLOAT =
"^-?([1-9]\\d*\\.\\d*|0\\.\\d*[1-9]\\d*|0?\\.0+|0)\$";