From 824a2d9f587ca017fc71b84d835e72f54f9c87c4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 18:02:36 +0100 Subject: Began rewrite --- node_modules/locutus/php/strings/quotemeta.js.map | 1 + 1 file changed, 1 insertion(+) create mode 100644 node_modules/locutus/php/strings/quotemeta.js.map (limited to 'node_modules/locutus/php/strings/quotemeta.js.map') 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 -- cgit v1.2.3