We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52fb507 commit 50bb0d9Copy full SHA for 50bb0d9
lib/lbt/resources/ResourceFilterList.js
@@ -12,7 +12,7 @@ function makeFileTypePattern(fileTypes) {
12
if ( !type.startsWith(".") ) {
13
type = "." + type;
14
}
15
- return type.replace(/[*+?.()|^$]/g, "\\$&");
+ return type.replace(/[*+?.()|^$\\]/g, "\\$&");
16
}).join("|") + ")";
17
18
0 commit comments