/var/www/greso.tech/server/nsm/node_modules/escape-string-regexp
NameSizeModeActions
index.d.ts4670644editdlrm
index.js2360644editdlrm
license11090644editdlrm
package.json7810644editdlrm
readme.md6660644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/escape-string-regexp/index.js (236B)
'use strict'; const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g; module.exports = string => { if (typeof string !== 'string') { throw new TypeError('Expected a string'); } return string.replace(matchOperatorsRegex, '\\$&'); };