From 67d143ec4e41f163dab86f89134c150f219c388d Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 5 Mar 2019 12:42:59 -0500 Subject: [PATCH] Fix https://github.com/uBlockOrigin/uBlock-issues/issues/448 --- src/js/static-ext-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-ext-filtering.js b/src/js/static-ext-filtering.js index 724a69e0f..da48cdf84 100644 --- a/src/js/static-ext-filtering.js +++ b/src/js/static-ext-filtering.js @@ -753,7 +753,7 @@ if ( anchorLen > 4 ) { return false; } if ( anchorLen > 1 && - /^@?(?:\$\??|%|\?)$/.test(raw.slice(lpos + 1, rpos)) === false + /^@?(?:\$\??|%|\?)?$/.test(raw.slice(lpos + 1, rpos)) === false ) { return false; }