From 2bb3f8c97432bbfe6216573ea9517586b61c5107 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 27 Dec 2025 09:51:22 -0500 Subject: [PATCH] Fix comment --- 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 18b15fa42..761dbf6b7 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -2241,7 +2241,7 @@ export class AstFilterParser { : before; // TODO: Remove unescaping of `|` once AdGuard filters no longer unduly // escape. In the mean time, if a literal `|` is needed in a path-based - // regex, the solution is to use `\x7C` instead of `|`. + // regex, the solution is to use `\x7C` instead of `\|`. const source = this.normalizeRegexPattern(regex.replace(/\\\|/g, '|')); if ( source === '' ) { return ''; } const after = `/${source}/`;