Macro nom::tag_no_case_s [] [src]

macro_rules! tag_no_case_s {
    ($i:expr, $tag: expr) => { ... };
}

tag_no_case_s!(&str) => &str -> IResult<&str, &str> declares a case-insensitive string as a suite to recognize

consumes the recognized characters

 fn test(input: &str) -> IResult<&str, &str> {
   tag_no_case_s!(input, "ABcd")
 }
 let r = test("aBCdefgh");
 assert_eq!(r, Done("efgh", "aBCd"));