VerbalExpressions/JSVerbalExpressions — pull request #52 by subzey (2013-08-13 05:49:05+00:00)
Title: sanitize: escape only needed characters + test

Current implementation of `.sanitize` escapes many characters that not need to be escaped, including whitespaces and all non-basic ASCII letters. It works well, but resulting regexp is less readable and, I suppose, it would be faster to replace less strings.