Replaces util.escapeRegexp by the escape-string-regexp package.