-
Notifications
You must be signed in to change notification settings - Fork 8
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 support for $removeparam modifier #41
Comments
Hi @ameshkov, is this a bug? The ADGfW program does not allow creating a regexp with repetitions. The |
Try with escaped comma - |
https://adguard.com/kb/general/ad-filtering/create-own-filters/#domain-modifier - applied to all regexps in AG |
That's not what I was talking about, I don't understand why you're answering the question that I didn't ask. As far as I can tell, the ADG program was universal. The program has its own sheets, but she tries to maintain the sheets and the Frenchy's achievements. There is a clear algorithm for regexps, it does not differ, and this is the standard when the number of repetitions and the "comma" symbol are wrapped in curly brackets, there can be no extraneous characters in it and the link that you gave does not apply to my question, since it says about the non-wrapped "comma" sign. In other words, as I said, edits have been made to the markup of the regex for the program, it differs from the standard, but there is no word about this in the wiki, plus support from the Frenchy sheets will be broken. |
In regular regexp not with the
You have a bug in the program, just admit it. The program with a modifier cannot respond to a regular expression in one way - ok, and without a modifier - in another way - not ok. It's just wrong, and it disrupts the program. |
@bogachenko This is not a bug, it is simply a limitation of the current syntax (dollar sign and comma are special characters in adblock syntax and used for modifier list). There are plans in the near future to eliminate the need for extra escapes in regexps to prevent misunderstandings. Reference: AdguardTeam/tsurlfilter#121 |
special character escaping for |
I was talking about a wrapped special sign, not a regular one. I chose standard regex markup as a basis, if I'm talking about wrapped, then I'm looking for what's written in the wiki for wrapped signs and of course I know that the usual ones are excluded by the backslash character. |
example 1
example 2
The text was updated successfully, but these errors were encountered: