Zero or more match error question #261
yonderblue
started this conversation in
General
Replies: 3 comments 2 replies
-
For questions, in future can you please use the Discussions feature in GitHub rather than raising issues? |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you have two branches that both start with |
Beta Was this translation helpful? Give feedback.
0 replies
-
BTW you can solve this by pulling the Negate out to the parent:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a small example that fails. However changing the
phrase
grammar to haveNegate bool `@Negate?`
will succeed. In the zero or more*
case, I guess the zero is causing the*phrase
pointer being filled. But?
is also allowing zero, what is the difference? If I usedparticiple.UseLookahead(2)
it works, however how would you know the correct count to avoid side effects of the highest?Beta Was this translation helpful? Give feedback.
All reactions