Replies: 1 comment 3 replies
-
Lifetime issues resolved with fn atom<'a>(input: &mut &'a str) -> PResult<&'a str> {
fn quoted_string<'a>(input: &mut &'a str) -> PResult<&'a str> { |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to create a email address parser for example, here
local_part
should bejohn.doe
etc. I am trying to just recognize this (previously using recognize, now take), In nom it used to be like this for exampleI get this error.
Beta Was this translation helpful? Give feedback.
All reactions