How do I require whitespace? #126
-
Hi, new to I want to require whitespace between tokens, but The example in
Is there a simpler approach I'm missing? Would it be feasible and ergonomic to have the return type of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
How about this? let label = ident::<_, Simple<char>>()
.delimited_by(just('['), just(']'))
.then_ignore(just(' ').repeated().at_least(1)); |
Beta Was this translation helpful? Give feedback.
-
Hi! For now, that is the easiest setup. That said, |
Beta Was this translation helpful? Give feedback.
How about this?