Function alphanumeric

Source
pub fn alphanumeric() -> PrettyRegex<Chain>
Expand description

Matches alphanumeric characters (in Letter and Number Unicode categories).

§Example

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