Type Definition nommy::text::AnyUppercase[][src]

type AnyUppercase = AnyInRange<{ 'A'..='Z' }>;

AnyUppercase parses any length of upper ascii letters

use nommy::{Parse, IntoBuf, text::AnyUppercase};
let mut buffer = "HELLOworld".chars().into_buf();
let c: String = AnyUppercase::parse(&mut buffer).unwrap().into();
assert_eq!(c, "HELLO");