Function is_not
fn is_not<T, I, Error: ParseError<I>>(arr: T) -> impl FnMut(I) -> crate::internal::IResult<I, I, Error>
where
I: Input,
T: FindToken<<I as Input>::Item>
Parse till certain characters are met.
The parser will return the longest slice till one of the characters of the combinator's argument are met.
It doesn't consume the matched character.
It will return a Err::Incomplete(Needed::new(1)) if the pattern wasn't met.
Example
# use ;
use is_not;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;