Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate the need for extra escapes in regular expressions #121

Open
scripthunter7 opened this issue Mar 27, 2024 · 0 comments
Open

Eliminate the need for extra escapes in regular expressions #121

scripthunter7 opened this issue Mar 27, 2024 · 0 comments

Comments

@scripthunter7
Copy link
Member

scripthunter7 commented Mar 27, 2024

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: AdguardTeam/VscodeAdblockSyntax#131

@scripthunter7 scripthunter7 changed the title Allow using unescaped $ symbol in the value of some special modifiers Eliminate the need for extra escapes in regular expressions Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants