pub fn lower<I>() -> Lower<I>where
I: Stream<Item = char>,
I::Error: ParseError<I::Item, I::Range, I::Position>,
Expand description
Parses an lowercase letter according to std::char::is_lowercase
.
use combine::Parser;
use combine::parser::char::lower;
assert_eq!(lower().parse("a"), Ok(('a', "")));
assert!(lower().parse("A").is_err());