In the example provided above: winnow and nom have the same code logic, but they yield inconsistent results upon execution. Currently, I have ported the internal code from nom to winnow; however, despite maintaining the same logic, winnow throws errors during execution while nom successfully completes.
Expected Behaviour
Anticipating consistency in the logic between the two.
Please complete the following tasks
rust version
rustc 1.74.0 (79e9716c9 2023-11-13)
winnow version
0.6.2
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
In the example provided above: winnow and nom have the same code logic, but they yield inconsistent results upon execution. Currently, I have ported the internal code from nom to winnow; however, despite maintaining the same logic, winnow throws errors during execution while nom successfully completes.
Expected Behaviour
Anticipating consistency in the logic between the two.
Additional Context
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2a9b80d71c7077990cb025305b290fcb