-
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
Allow using unescaped $
symbol in the value of some special modifiers
#131
Comments
Shouldn't |
No, because the |
I mean when you copy regexp to a rule. Btw it seems you forgot a directive here after removing the line 48 |
|
The @Alex-302's point is that |
@ameshkov So there is an incompatibility with uBO here? |
Meshkov does raise a very important question there.
The way you at Team AdGuard above describe it, would require |
+ Testing out the still-odd-looking AdGuard syntax recommended in AdguardTeam/VscodeAdblockSyntax#131 + Adding yet another workaround to find actual list errors in uBO more easily.
We should probably add support for this in AGTree/tsurlfilter just for compatibility reasons then. |
@ameshkov If we add support, we need to modify:
|
$
symbol in the value of some special modifiers
@ameshkov @Alex-302 There are two other points here to consider:
Tokenization should work in these cases as well. |
I noticed this when working on DandelionSprout/adfilt@7f50937 some minutes before I submitted this issue report, where the $ sign in
||www.amazon.$removeparam=/^[a-z_]{1,20}=[a-zA-Z0-9._-]{80,}$/
is shown by the VS syntax as invalid, despite such a setup being relatively important when handling RegEx in general.So I can only presume that a fix of some sort has to be made, so that the $ sign would be shown as not-invalid.
The text was updated successfully, but these errors were encountered: