nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
227 stars 20 forks source link

Implement escapeRe #91

Closed nitely closed 3 years ago

nitely commented 3 years ago

fixes #90

nitely commented 3 years ago

I just realized this can be simplified given ASCII code-points cannot be part of multi-byte code-points. So we can just read and check byte by byte.