Function shrimple_parser::parse_while
source ยท pub fn parse_while<'input>(
pred: impl Fn(&char) -> bool
) -> impl Parser<'input, &'input str>Expand description
The output is a string up to the point where pred returned true
any returned error is recoverable