Function alphabetic

Source
pub fn alphabetic() -> PrettyRegex<CharClass<Standard>>
Expand description

Matches alphabetic characters (in Letter Unicode category).

§Example

assert!(alphabetic().to_regex_or_panic().is_match("a"));
assert!(alphabetic().to_regex_or_panic().is_match("ÑŽ"));
assert!(alphabetic().to_regex_or_panic().is_match("A"));
assert!(!alphabetic().to_regex_or_panic().is_match("5"));
assert!(!alphabetic().to_regex_or_panic().is_match("!"));