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/strings/quotemeta.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 node_modules/locutus/php/strings/quotemeta.js (limited to 'node_modules/locutus/php/strings/quotemeta.js') diff --git a/node_modules/locutus/php/strings/quotemeta.js b/node_modules/locutus/php/strings/quotemeta.js deleted file mode 100644 index a1f2190..0000000 --- a/node_modules/locutus/php/strings/quotemeta.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -module.exports = function quotemeta(str) { - // discuss at: http://locutus.io/php/quotemeta/ - // original by: Paulo Freitas - // example 1: quotemeta(". + * ? ^ ( $ )") - // returns 1: '\\. \\+ \\* \\? \\^ \\( \\$ \\)' - - return (str + '').replace(/([.\\+*?[^\]$()])/g, '\\$1'); -}; -//# sourceMappingURL=quotemeta.js.map \ No newline at end of file -- cgit v1.2.3