pub fn or<T, L: Neu<T>, R: Neu<T>>(left: L, right: R) -> Or<L, R, T>Expand description
Return true if the value matches L or R.
Example
let re = u8::is_ascii_hexdigit.or(b'g'.or(b'G')).repeat_times::<4>();
let re = re.padded(b"0x");
assert_eq!(BytesCtx::new(b"0xcfag").ctor(&re)?, b"cfag");
Ok(())