numeral method
Implementation
Parser<String> numeral() => (char('-').optional() &
((char('.') & digit().plus()) |
(digit().plus() & (char('.') & digit().star()).optional())))
.flatten();
Parser<String> numeral() => (char('-').optional() &
((char('.') & digit().plus()) |
(digit().plus() & (char('.') & digit().star()).optional())))
.flatten();