Function parse_until_ex

Source
pub fn parse_until_ex<In: Input>(pat: impl Pattern) -> impl Parser<In, In>
Expand description

Like parse_until, but also removes the match of pat from the rest of the input.

ยงErrors

Unlike parse_until, this parser returns a recoverable error if pred returned false for all the characters in the input.