WIP - add extractor, generate snippet_data
This commit is contained in:
5
node_modules/underscore.string/helper/escapeRegExp.js
generated
vendored
Normal file
5
node_modules/underscore.string/helper/escapeRegExp.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
var makeString = require('./makeString');
|
||||
|
||||
module.exports = function escapeRegExp(str) {
|
||||
return makeString(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
|
||||
};
|
||||
Reference in New Issue
Block a user