Function pretty_regex::lowercase
source · pub fn lowercase() -> PrettyRegex<CharClass<Standart>>
Expand description
Matches lowercase characters (in Lowercase_Letter
Unicode category).
Example
assert!(lowercase().to_regex_or_panic().is_match("a"));
assert!(lowercase().to_regex_or_panic().is_match("ÑŽ"));
assert!(!lowercase().to_regex_or_panic().is_match("A"));
assert!(!lowercase().to_regex_or_panic().is_match("!"));
assert!(!lowercase().to_regex_or_panic().is_match(" "));