pub fn ascii_alphabetic() -> PrettyRegex<CharClass<Ascii>>
Expand description
Matches ascii alphabetic characters (a-zA-Z
).
§Example
assert!(ascii_alphabetic().to_regex_or_panic().is_match("a"));
assert!(ascii_alphabetic().to_regex_or_panic().is_match("B"));
assert!(!ascii_alphabetic().to_regex_or_panic().is_match("1"));
assert!(!ascii_alphabetic().to_regex_or_panic().is_match(" "));