Macro nom::is_not_s [−][src]
macro_rules! is_not_s { ($input:expr, $arr:expr) => { ... }; }
Deprecating in 4.0.0
: Please use is_not
instead
is_not_s!(&str) => &str -> IResult<&str, &str>
returns the longest list of characters that do not appear in the provided array
named!( not_space<&str,&str>, is_not_s!( " \t\r\n" ) ); let r = not_space("abcdefgh\nijkl"); assert_eq!(r,Ok(("\nijkl", "abcdefgh")));