[][src]Function nom::multi::many1_count

pub fn many1_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. Fails if the embedded parser does not succeed at least once.

Arguments

  • f The parser to apply.