Macro nom::tag_no_case [−][src]
tag_no_case!(&[T]) => &[T] -> IResult<&[T], &[T]>
declares a case insensitive ascii string as a suite to recognize
consumes the recognized characters
Example
named!(test, tag_no_case!("ABcd")); let r = test(&b"aBCdefgh"[..]); assert_eq!(r, Ok((&b"efgh"[..], &b"aBCd"[..])));