[−][src]Macro nom::tag_no_case_s
Deprecated since 4.0.0:
Please use tag_no_case
instead
tag_no_case_s!(&str) => &str -> IResult<&str, &str>
declares a case-insensitive string as a suite to recognize
consumes the recognized characters
#[cfg(feature = "alloc")] fn test(input: &str) -> IResult<&str, &str> { tag_no_case_s!(input, "ABcd") } let r = test("aBCdefgh"); assert_eq!(r,Ok(("efgh", "aBCd")));