rNumber constant
String
const rNumber
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 rNumber = r'(?<=^)(\d|((?<=\d)[,.]{1}(?=\d)))+(?=$)';