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/pcre/preg_quote.js.map | 1 + 1 file changed, 1 insertion(+) create mode 100644 node_modules/locutus/php/pcre/preg_quote.js.map (limited to 'node_modules/locutus/php/pcre/preg_quote.js.map') diff --git a/node_modules/locutus/php/pcre/preg_quote.js.map b/node_modules/locutus/php/pcre/preg_quote.js.map new file mode 100644 index 0000000..890ea3f --- /dev/null +++ b/node_modules/locutus/php/pcre/preg_quote.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/pcre/preg_quote.js"],"names":["module","exports","preg_quote","str","delimiter","replace","RegExp"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,GAArB,EAA0BC,SAA1B,EAAqC;AAAE;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAO,CAACD,MAAM,EAAP,EACJE,OADI,CACI,IAAIC,MAAJ,CAAW,qCAAqCF,aAAa,EAAlD,IAAwD,IAAnE,EAAyE,GAAzE,CADJ,EACmF,MADnF,CAAP;AAED,CAhBD","file":"preg_quote.js","sourcesContent":["module.exports = function preg_quote (str, delimiter) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/preg_quote/\n // original by: booeyOH\n // improved by: Ates Goral (http://magnetiq.com)\n // improved by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Brett Zamir (http://brett-zamir.me)\n // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)\n // example 1: preg_quote(\"$40\")\n // returns 1: '\\\\$40'\n // example 2: preg_quote(\"*RRRING* Hello?\")\n // returns 2: '\\\\*RRRING\\\\* Hello\\\\?'\n // example 3: preg_quote(\"\\\\.+*?[^]$(){}=!<>|:\")\n // returns 3: '\\\\\\\\\\\\.\\\\+\\\\*\\\\?\\\\[\\\\^\\\\]\\\\$\\\\(\\\\)\\\\{\\\\}\\\\=\\\\!\\\\<\\\\>\\\\|\\\\:'\n\n return (str + '')\n .replace(new RegExp('[.\\\\\\\\+*?\\\\[\\\\^\\\\]$(){}=!<>|:\\\\' + (delimiter || '') + '-]', 'g'), '\\\\$&')\n}\n"]} \ No newline at end of file -- cgit v1.2.3