diff --git a/src/js/redirect-engine.js b/src/js/redirect-engine.js index 3f607cfe6a8a5..9a94b2fc0eba7 100644 --- a/src/js/redirect-engine.js +++ b/src/js/redirect-engine.js @@ -529,7 +529,7 @@ RedirectEngine.prototype.compileRuleFromStaticFilter = function(line) { /******************************************************************************/ -RedirectEngine.prototype.reFilterParser = /^(?:\|\|([^\/:?#^]+)|\*)([^$]+)?\$([^$]+)$/; +RedirectEngine.prototype.reFilterParser = /^(?:\|\|([^\/:?#^]+)|\*?)([^$]+)?\$([^$]+)$/; RedirectEngine.prototype.supportedTypes = new Map([ [ 'css', 'stylesheet' ],