Replaces escapeRegexp with the escape-string-regexp package.
Merge pull request #1344 from jbnicolai/add-escape-string-regexp

Replaces escapeRegexp with the escape-string-regexp package.