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

Add regexp support for $domain modifier #41

Open
slavaleleka opened this issue Nov 12, 2021 · 1 comment
Open

Add regexp support for $domain modifier #41

slavaleleka opened this issue Nov 12, 2021 · 1 comment

Comments

@slavaleleka
Copy link
Contributor

slavaleleka commented Nov 12, 2021

@slavaleleka commented on Thu Nov 11 2021

now there is no chance to create single cosmetic rule for hiding the same element on such domains:
example1.com, example2.com, example3.org

it would be nice if $domain modifier supports regular expressions, just like $path does

something like this:
[$domain=/example[0-9]\.(com|org)/]##.ad


@ameshkov commented on Fri Nov 12 2021

Why limit just to the cosmetic rules? If we do it here, we should extend it to basic rules as well.

@ameshkov
Copy link
Member

ameshkov commented Nov 13, 2021

But let's wait until the CL guys come up with a proper syntax spec.
AdguardTeam/CoreLibs#1550

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

6 participants