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

Blocking regex rule that has escaped slash in a character class does not work #1831

Closed
piquark6046 opened this issue Dec 5, 2023 · 0 comments

Comments

@piquark6046
Copy link
Member

piquark6046 commented Dec 5, 2023

A blocking regex rule that has an escaped slash in a character class does not work.
However, the rule works on AdGuard Browser Extension.

For example, /^https:\/\/m[0-9]+\.kotbc\.com\/img\/[a-z0-9_\/]+\.gif$/ rule in List-KR filter does not work at https://m68.kotbc.com/.

A related issue: AdguardTeam/AdguardFilters#167691

Screenshots

Screenshot from 2023-12-05 21-38-45
Screenshot from 2023-12-05 21-38-49
Screenshot from 2023-12-05 21-38-57

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

4 participants