How to use lazy grammars? #12110
-
Could you give me a hint at how to use this feature?
Where json is a valid json grammar (I left it out for space reasons). Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@ochafik would you be able to help here? 🙏 |
Beta Was this translation helpful? Give feedback.
Hi @leon-herbrik, the grammar gets anything from the trigger, please try:
(alsoo,
.*
will match anything eagerly and defeat the rest of the grammar, this is what lazy grammers are working around :-))