reNumber constant Null safety
Matches a String that includes digits and delimiters (periods and commas) where delimiters are not at the start or end of the string
Implementation
static const reNumber = r'(?<=^)(\d|((?<=\d)[,.]{1}(?=\d)))+(?=$)';
Matches a String that includes digits and delimiters (periods and commas) where delimiters are not at the start or end of the string
static const reNumber = r'(?<=^)(\d|((?<=\d)[,.]{1}(?=\d)))+(?=$)';