pub fn lower<Input>() -> impl Parser<Input, Output = u8, PartialState = ()> where
Input: Stream<Token = u8>,
Input::Error: ParseError<Input::Token, Input::Range, Input::Position>,
Expand description
Parses an lowercase ASCII letter (a–z).
use combine::Parser;
use combine::parser::byte::lower;
assert_eq!(lower().parse(&b"a"[..]), Ok((b'a', &b""[..])));
assert!(lower().parse(&b"A"[..]).is_err());