pub fn digit1<T>(input: T) -> IResult<T, T>
where
  T: InputTakeAtPosition,
  <T as InputTakeAtPosition>::Item: AsChar,
{
  input.split_at_position1(|item| !item.is_dec_digit(), ErrorKind::Digit)
}
/// Recognizes one or more numerical characters: 0-9
Recognizes one or more numerical characters: 0-9
Recognizes one or more numerical characters : 0 - 9
pub fn digit1<T>(input: T) -> IResult<T, T>
where
  T: InputTakeAtPosition,
  <T as InputTakeAtPosition>::Item: AsChar,
{
  input.split_at_position1(|item| !item.is_dec_digit(), ErrorKind::Digit)
}
pub fn digit1 < T > ( input : T ) -> IResult < T , T > where T : InputTakeAtPosition , < T as InputTakeAtPosition > :: Item : AsChar , { input . split_at_position1 ( | item | ! item . is_dec_digit ( ) , ErrorKind :: Digit ) }
Recognizes one or more numerical characters: 0-9
Recognizes one or more numerical characters : 0 - 9
input
T
input
T