how to make escape sequence in haskell regular expression
How to escape characters in Haskell's Text.Regex library? - Stack Overflow
> matchRegex (mkRegex "[*]") "*"
Just []which works, but it seems like a hack, especially if I want to escape several things in a row (e.g. mkRegex "[[(][)]]" which matches [()]).