rust-bakery / nom

Rust parser combinator framework
MIT License
9.18k stars 792 forks source link

fix take_while_m_n for multibyte UTF-8 chars #1643

Closed ackxolotl closed 1 year ago

ackxolotl commented 1 year ago

fixes #1630

Geal commented 1 year ago

I feel like I'm asking for too many changes, and I want to be mindful of your time here. If you'd prefer, I can take over and finish it

ackxolotl commented 1 year ago

Feel free to take over!

Geal commented 1 year ago

fixed in #1651, thanks for your help!