no-context / moo

Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
BSD 3-Clause "New" or "Revised" License
821 stars 65 forks source link

has() doesn't work for stateful lexers #47

Closed tjvr closed 7 years ago

tjvr commented 7 years ago

It should return True if it appears in any of the states, not just the start state.