From 5e6f78a902be689f675fd462817c43e0381970be Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 14 Sep 2024 00:10:34 -0400 Subject: [PATCH] Fix regression re. `mp4` filter option Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3375 --- src/js/static-filtering-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 3d8e82fd6..ee3318240 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -900,7 +900,7 @@ export class AstFilterParser { this.reGoodRegexToken = /[^\x01%0-9A-Za-z][%0-9A-Za-z]{7,}|[^\x01%0-9A-Za-z][%0-9A-Za-z]{1,6}[^\x01%0-9A-Za-z]/; this.reBadCSP = /(?:^|[;,])\s*report-(?:to|uri)\b/i; this.reBadPP = /(?:^|[;,])\s*report-to\b/i; - this.reNetOption = /^(~?)([13a-z_-]+)(=?)/; + this.reNetOption = /^(~?)([134a-z_-]+)(=?)/; this.reNoopOption = /^_+$/; this.netOptionValueParser = new ArgListParser(','); this.scriptletArgListParser = new ArgListParser(',');