pub fn not<T, U: Neu<T>>(unit: U) -> Not<U, T>Expand description
Return true if the given value not matches U.
Example
let item = neu::not(u8::is_ascii_uppercase);
let str = item.repeat_range(6..);
let mut ctx = BytesCtx::new(br#"abcedfgABCEE"#);
assert_eq!(ctx.try_mat(&str)?, Span::new(0, 7));
Ok(())