Macro gutenberg_post_parser::take_until_terminated [−][src]
macro_rules! take_until_terminated { (_ $input:expr, $substr:expr, $consume:expr, $submac:ident!( $($args:tt)* )) => { ... }; ($input:expr, $substr:expr, $submac:ident!( $($args:tt)* )) => { ... }; ($input:expr, $substr:expr, $f:expr) => { ... }; }
take_until_terminated(S, C)
is like take_until
but with a
lookahead combinator C
. It's not similar to
terminated!(take_until(S, peek!(C)))
because it loops over the
input until C
is true.