Skip to content

Commit 48c258f

Browse files
authored
Update Parsing.fs
1 parent eec4c66 commit 48c258f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus/Parsing.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Parsing =
3333
| 'B' -> "([01]+)"
3434
| 'c' -> "(.)"
3535
| 'd' | 'i' -> "([+-]?[0-9]+)"
36-
| 'e' | 'E' | 'f' | 'F' | 'g' | 'G' | 'M' -> "([+-]?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?)"
36+
| 'e' | 'E' | 'f' | 'F' | 'g' | 'G' | 'M' -> "([+-]?[0-9]+\.?[0-9]*(?:[eE][+-]?[0-9]+)?)"
3737
| 'o' -> "([0-7]+)"
3838
| 'u' -> "([0-9]+)"
3939
| 's' -> "(.*?)"

0 commit comments

Comments
 (0)