Open grantslatton opened 5 months ago
rustc -V rustc 1.75.0 (82e1608df 2023-12-21) nom 7.1.3
This code
nom::number::complete::recognize_float("123episode")
Fails with Failure(Error { input: "pisode", code: Digit }) instead of returning ("episode", 123.0)
Failure(Error { input: "pisode", code: Digit })
("episode", 123.0)
The nom::number::complete::double parser is similarly broken
nom::number::complete::double
This is something to do with scientific notation (e.g. 123e6) handling
123e6
This code
Fails with
Failure(Error { input: "pisode", code: Digit })
instead of returning("episode", 123.0)
The
nom::number::complete::double
parser is similarly brokenThis is something to do with scientific notation (e.g.
123e6
) handling