Escapes the strings used in regexes
Merge pull request #3 from Esya/master

Escapes the strings used in regexes