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

Some regexp rules do not work #1688

Closed
AdamWr opened this issue Nov 4, 2022 · 0 comments
Closed

Some regexp rules do not work #1688

AdamWr opened this issue Nov 4, 2022 · 0 comments

Comments

@AdamWr
Copy link
Member

AdamWr commented Nov 4, 2022

Steps to reproduce

  1. Add this rule to user rules:
/\/[0-9][0-9][0-9][0-9][0-9]/
  1. Go to - https://example.org/
  2. Open filtering log
  3. Run in browser console:
fetch('/whatever/12345')

Actual behavior

Request is not blocked.

Screenshot

image

Expected behavior

Request should be blocked.
It's blocked if add rule like this:

/\/[0-9]{5}/
Screenshot

image

AdGuard for Windows version 7.11 nightly 24 (build 4097, CL 1.10.120)

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