escapeRegExp.js 95 B

12345
  1. exports = function(str) {
  2. return str.replace(/\W/g, '\\$&');
  3. };
  4. module.exports = exports;