This commit is contained in:
Stephen Franceschelli
2019-07-15 13:56:32 -04:00
parent 70039febf8
commit b387336039
7044 changed files with 1866384 additions and 0 deletions

11
node_modules/escape-string-regexp/index.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
module.exports = function (str) {
if (typeof str !== 'string') {
throw new TypeError('Expected a string');
}
return str.replace(matchOperatorsRe, '\\$&');
};