valpackett / pcre-heavy

A Haskell regular expressions library that doesn't suck | now on https://codeberg.org/valpackett/pcre-heavy
https://codeberg.org/valpackett/pcre-heavy
The Unlicense
51 stars 6 forks source link

Added 'escape' function. #7

Closed johnw42 closed 8 years ago

johnw42 commented 8 years ago

Pretty self-explanatory. This function (more or less) exists in at least Python (as re.match) and Emacs (as regexp-quote).

valpackett commented 8 years ago

Thanks!

Could you fix the test? (It needs type annotations for string literals)