Function anychar
fn anychar<T, E: ParseError<T>>(input: T) -> crate::IResult<T, char, E>
where
T: Input,
<T as Input>::Item: AsChar
accept a str, but not a &[u8], unlike many other nom parsers.
Example
# use ;
assert_eq!;
assert_eq!;