reNumber constant Null safety

String const reNumber

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)))+(?=$)';