rem: .replace(/([-.()[\]{}$])/g, '\\$1') 
add: .replace(/([-.()[\]{}$^|+])/g, '\\$1') 
context: exports.toRegExp = function(str) {	return str.replace(/\\(?![nrs])/g, '\\\\')			  .replace(/([-.()[\]{}$])/g, '\\$1')			  .replace(/\*/g, '.*');};
meta: 7624	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7624/d3037c5fdd42d737b3984a59eaa7609abab8ce59/tools.js/buggy/modules/tools.js