tsurlfilter
tsurlfilter copied to clipboard
Add regexp support for $domain modifier
@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.
But let's wait until the CL guys come up with a proper syntax spec. https://github.com/AdguardTeam/CoreLibs/issues/1550