Function digit1
fn digit1<T, E: ParseError<T>>() -> impl Parser<T, Output = T, Error = E>
where
T: Input,
<T as Input>::Item: AsChar
Recognizes one or more ASCII numerical characters: 0-9
Streaming version: Will return Err(nom::Err::Incomplete(_)) if there's not enough input data,
or if no terminating token is found (a non digit character).
Example
# use ;
# use digit1;
assert_eq!;
assert_eq!;
assert_eq!;