Is this an intended feature? #1086
Answered
by
tomtau
bramadityaw
asked this question in
Q&A
-
I decided to ask here first before making an issue. Here is my grammar
I experimented with many inputs using the editor in the pest website. One of them is below.
What I expected is to be greeted with an error, but curiously, it accepted the grammar.
The second |
Beta Was this translation helpful? Give feedback.
Answered by
tomtau
Mar 6, 2025
Replies: 1 comment 1 reply
-
it's likely intended: https://pest.rs/book/grammars/syntax.html#implicit-whitespace
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bramadityaw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's likely intended: https://pest.rs/book/grammars/syntax.html#implicit-whitespace
if you change to
nama = @{ASCII_ALPHA ~ ASCII_ALPHANUMERIC*?}
it'll report this error: