-
Notifications
You must be signed in to change notification settings - Fork 6
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
"partial" regexps (<#FOO>) cause false-positive warnings #17
Comments
Thanks for the report, I'll try to find time for this shortly |
No worries. Thank you! |
So I've been looking into this bug and am having trouble reproducing it... The example you provide has a syntax error, and even if corrected, I don't see an issue (even when adding tokens like your _TERM_CHAR). Could you provide a minimal working example? |
Hi Clement. I will, sure. I am away from my computer - will do it tomorrow.
…On Sat, Sep 19, 2020, 13:36 Clément Fournier ***@***.***> wrote:
So I've been looking into this bug and am having trouble reproducing it...
The example you provide has a syntax error, and even if corrected, I don't
see an issue (even when adding tokens like your _TERM_CHAR). Could you
provide a minimal working example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQWLQDSUXCJA6LJMIUJWTSGSJVDANCNFSM4RRX3IUQ>
.
|
This is a smaller example that reproduces the problem.
Note how QUOTED uses the fragment to define a regexp that contains it. The fragment will never match on its own but the plugin claims a conflict with token ZERO. |
Misclick Thanks, I'll look into this tomorrow |
This isn't urgent. Thanks!
…On Sat, Sep 19, 2020, 21:51 Clément Fournier ***@***.***> wrote:
Misclick
Thanks, I'll look into this tomorrow
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQWLVVYDH3WI7UHCZ3FTLSGUDTJANCNFSM4RRX3IUQ>
.
|
I was able to reproduce the bug, it should be fixed in version 1.7, which I'll release sometime this week. Thanks for your cooperation Dawid ! |
Thank you for the plugin. It is helpful. I just wanted to point out that currently "partial" regexp definitions cause warnings. Something like:
would bring a warning like this:
This isn't true because pound-starting definitions don't generate tokens of their own - they're just expanded into final tokens, if used.
The text was updated successfully, but these errors were encountered: