diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index c9e9f3c87..f6bb5b976 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -658,7 +658,7 @@ const Parser = class { // https://github.com/gorhill/uBlock/issues/3034 // We can remove anchoring if we need to match all at the end. if ( hasBits(this.flavorBits, BITFlavorNetRightAnchor) ) { - const i = this.patternLeftAnchorSpan; + const i = this.patternRightAnchorSpan.i; if ( this.patternSpan.len === 0 || hasBits(this.slices[i-3], BITIgnore|BITAsterisk)