-
Hi there, I craft some grammar like /// and try parse something like "a\nb", where I try to detect \n as new line, but the parser always ignore the '\n', how can I handle it? Regards, |
Beta Was this translation helpful? Give feedback.
Answered by
renggli
Mar 11, 2022
Replies: 1 comment 1 reply
-
Note that |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
renggli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that
.trim()
consumes all whitespace (including new-lines), so that might be a problem?