%PDF- %PDF-
| Direktori : /proc/self/root/lib/node_modules/pm2/node_modules/escape-regexp/ |
| Current File : //proc/self/root/lib/node_modules/pm2/node_modules/escape-regexp/index.js |
/**
* Escape regexp special characters in `str`.
*
* @param {String} str
* @return {String}
* @api public
*/
module.exports = function(str){
return String(str).replace(/([.*+?=^!:${}()|[\]\/\\])/g, '\\$1');
};