tsurlfilter icon indicating copy to clipboard operation
tsurlfilter copied to clipboard

Eliminate the need for extra escapes in regular expressions

Open scripthunter7 opened this issue 10 months ago • 0 comments

Currently, in the modifiers, we have to escape some special characters from the adblock syntax in the regexps. Two typical things cause misunderstandings:

  • the $ sign
  • and the comma in the regexp length specifier

In the future, we need to introduce a special tokenization procedure in the parser that works without escaping these characters.

reference: https://github.com/AdguardTeam/VscodeAdblockSyntax/issues/131

scripthunter7 avatar Mar 27 '24 11:03 scripthunter7