Closed MaybeJustJames closed 2 years ago
Using the Parsing.String.Basic.number parser on a number in scientific notation but without a decimal exponent only parses the non-exponent part.
Parsing.String.Basic.number
To Reproduce
num <- runParser "1.2e1" number num /= 12
Expected behavior Parser should parse numbers in scientific notation without a decimal exponent.
Additional context The regex is failing. This can be observed here.
Using the
Parsing.String.Basic.number
parser on a number in scientific notation but without a decimal exponent only parses the non-exponent part.To Reproduce
Expected behavior Parser should parse numbers in scientific notation without a decimal exponent.
Additional context The regex is failing. This can be observed here.