From a2dda2d19140712be9291c0c83c1c1bcd0f8dbf0 Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Thu, 24 Jan 2019 11:04:42 +0100 Subject: [PATCH] Inline ALL regexes --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 1147a8c80f..b026928a7d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -38,7 +38,7 @@ var gulp = require('gulp'), inlineRegexSource = function () { return replace( - /\/((?:[^\n\r[\\\/]|\\.|\[(?:[^\n\r\\\]]|\\.)*\])*)\/\.source\b/, + /\/((?:[^\n\r[\\\/]|\\.|\[(?:[^\n\r\\\]]|\\.)*\])*)\/\.source\b/g, function (m, source) { // escape backslashes source = source.replace(/\\/g, '\\\\');