Replies: 1 comment
-
|
There is no syntax in Lark for this behavior. But you can emulate it yourself if you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I describe a rule that must match a series of tokens to succeed, but leave the last rule to be consumed by a separate rule?
eg:
Here,
singlequotedstringmust have whitespace after the final quote mark, but that whitespace is not part of the quoted string.Beta Was this translation helpful? Give feedback.
All reactions