diff options
author | Marvin Borner | 2018-11-07 18:02:36 +0100 |
---|---|---|
committer | Marvin Borner | 2018-11-07 18:02:36 +0100 |
commit | 824a2d9f587ca017fc71b84d835e72f54f9c87c4 (patch) | |
tree | 765267ea4686f752aad1f69930cfee5680cc494a /node_modules/locutus/php/strings/quotemeta.js.map | |
parent | fe75612e86b493a4e66c4e104e22658679cc014f (diff) |
Began rewrite
Diffstat (limited to 'node_modules/locutus/php/strings/quotemeta.js.map')
-rw-r--r-- | node_modules/locutus/php/strings/quotemeta.js.map | 1 |
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 |