summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/strings/quotemeta.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/strings/quotemeta.js.map')
-rw-r--r--node_modules/locutus/php/strings/quotemeta.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/strings/quotemeta.js.map b/node_modules/locutus/php/strings/quotemeta.js.map
new file mode 100644
index 0000000..8731bbb
--- /dev/null
+++ b/node_modules/locutus/php/strings/quotemeta.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../../src/php/strings/quotemeta.js"],"names":["module","exports","quotemeta","str","replace"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,GAApB,EAAyB;AACxC;AACA;AACA;AACA;;AAEA,SAAO,CAACA,MAAM,EAAP,EACJC,OADI,CACI,oBADJ,EAC0B,MAD1B,CAAP;AAED,CARD","file":"quotemeta.js","sourcesContent":["module.exports = function quotemeta (str) {\n // discuss at: http://locutus.io/php/quotemeta/\n // original by: Paulo Freitas\n // example 1: quotemeta(\". + * ? ^ ( $ )\")\n // returns 1: '\\\\. \\\\+ \\\\* \\\\? \\\\^ \\\\( \\\\$ \\\\)'\n\n return (str + '')\n .replace(/([.\\\\+*?[^\\]$()])/g, '\\\\$1')\n}\n"]} \ No newline at end of file