Add escaping special regex characters

Would cause the regex to break if a user utilized them.