We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3fc3801 + efe57da commit ba96ff0Copy full SHA for ba96ff0
2 files changed
components/bin/pack
@@ -42,7 +42,7 @@ const bundle = (process.argv[3] || 'bundle');
42
* @return {RegExp} The regular expression for the name,
43
*/
44
function fileRegExp(name) {
45
- return new RegExp(name.replace(/([\\.{}[\]()?*^$])/g, '\\$1'), 'g');
+ return new RegExp(name.replace(/([\\.{}[\]()?*+^$])/g, '\\$1'), 'g');
46
}
47
48
/**
components/webpack.common.cjs
@@ -35,7 +35,7 @@ const DIRNAME = __dirname;
35
* @return {string} The string with regex special characters escaped
36
37
function quoteRE(string) {
38
- return string.replace(/([\\.{}[\]()?*^$])/g, '\\$1');
+ return string.replace(/([\\.{}[\]()?*+^$])/g, '\\$1');
39
40
41
/****************************************************************/
0 commit comments