Add escaping special regex characters

Would cause the regex to break if a user utilized them.
Merge pull request #167 from Viiderstorm/master

Added escaping special regex characters