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

No escape function #90

Closed mildred closed 3 years ago

mildred commented 3 years ago

There does not seems to be an escape function that takes a string and escape regex-specific characters in it. It is useful to dynamically construct regexes.

nitely commented 3 years ago

You can use from re import escapeRe in the meantime.

mildred commented 3 years ago

Thank you