timtadh / lexmachine

Lex machinary for go.
Other
405 stars 28 forks source link

Improve support for character classes #3

Closed timtadh closed 7 years ago

timtadh commented 7 years ago

This pr adds better support for character classes. In particular, the common use case of having multiple ranges, individual characters, and proper inversions all should work as expected.

fixes: #2