Macro gstuff::take_until_parse_s
[−]
[src]
macro_rules! take_until_parse_s { ($i: expr, $remainder: ident! ($($args:tt)*)) => { ... }; ($i: expr, $f: expr) => { ... }; }
Implements the /(?x) (.*?) (remainder)/
pattern:
looks for remainder first, then returns a tuple with the prefix and the remainder.
Discussion: https://www.reddit.com/r/rust/comments/4yokxd/crash_course_into_nom_kind_of_question/