Skip to main content

until_ex

Function until_ex 

Source
pub fn until_ex<In: Input, Reason>(
    pat: impl IntoPattern,
) -> impl Parser<In, In, Reason>
Expand description

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

ยงErrors

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