From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/pcre/preg_quote.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 node_modules/locutus/php/pcre/preg_quote.js (limited to 'node_modules/locutus/php/pcre/preg_quote.js') diff --git a/node_modules/locutus/php/pcre/preg_quote.js b/node_modules/locutus/php/pcre/preg_quote.js deleted file mode 100644 index 0dcfd71..0000000 --- a/node_modules/locutus/php/pcre/preg_quote.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -module.exports = function preg_quote(str, delimiter) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/preg_quote/ - // original by: booeyOH - // improved by: Ates Goral (http://magnetiq.com) - // improved by: Kevin van Zonneveld (http://kvz.io) - // improved by: Brett Zamir (http://brett-zamir.me) - // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman) - // example 1: preg_quote("$40") - // returns 1: '\\$40' - // example 2: preg_quote("*RRRING* Hello?") - // returns 2: '\\*RRRING\\* Hello\\?' - // example 3: preg_quote("\\.+*?[^]$(){}=!<>|:") - // returns 3: '\\\\\\.\\+\\*\\?\\[\\^\\]\\$\\(\\)\\{\\}\\=\\!\\<\\>\\|\\:' - - return (str + '').replace(new RegExp('[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\' + (delimiter || '') + '-]', 'g'), '\\$&'); -}; -//# sourceMappingURL=preg_quote.js.map \ No newline at end of file -- cgit v1.2.3