Fix regression in static filtering parser

Related commit:
aaf35d9d71
This commit is contained in:
Raymond Hill 2025-08-16 09:06:25 -04:00
parent e9273470c5
commit 60ab2ad59c
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -842,7 +842,7 @@ export class AstFilterParser {
this.scriptletArgListParser = new ArglistParser(',');
this.domainRegexValueParser = new ArglistParser('/');
this.reNetOptionTokens = new RegExp(
`^(${Array.from(netOptionTokenDescriptors.keys())
`^~?(${Array.from(netOptionTokenDescriptors.keys())
.map(s => escapeForRegex(s))
.join('|')})\\b`
);