Escaping according to JSHint + 2 new tests

I had issues before with unescaped parenthesis "['\\^', '('],"). This
time I didn't spot such issues, so let's try to move according to JSHint
expectations.