Function usize
fn usize<T, E: ParseError<T>>(input: T) -> IResult<T, usize, E>
where
T: Input,
<T as Input>::Item: AsChar
will parse a number in text form to a number
Complete version: can parse until the end of input.