rust-bakery / nom

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

I was going to complain about an issue in the function take_while_m_n, but [update : and I will do] ... #1716

Open schwidom opened 6 months ago

schwidom commented 6 months ago

... I see now that it is fixed in this version of the crate here. The problem which I have now is that your version here seems to be version 7.1.2 (Cargo.toml) but the version in the official crate repo where I found an issue is versioned by 7.1.3.

When will this version here be available in the official 'cargo install' channel?

[update]

No, I have it, it is in the 7.x branch. Sorry for the confusion. I looked in the main branch which is far more developed.

The take_while_m_n function in the branch 7.x in the files bytes/{complete,stream}.rs has the problem that it parses to the end if the predicate does not match even if m is far shorter.

I would be glad if this could be fixed.

Thanks in advance.