[][src]Function nom::multi::many0_count

pub fn many0_count<I, O, E, F>(f: F) -> impl Fn(I) -> IResult<I, usize, E> where
    I: Clone + PartialEq,
    F: Fn(I) -> IResult<I, O, E>,
    E: ParseError<I>, 

Repeats the embedded parser until it fails and returns the number of successful iterations.

Arguments

  • f The parser to apply.