Function nom::character::is_alphanumeric [−][src]
pub fn is_alphanumeric(chr: u8) -> bool
Tests if byte is ASCII alphanumeric: A-Z, a-z, 0-9
Example
assert_eq!(is_alphanumeric(b'-'), false); assert_eq!(is_alphanumeric(b'a'), true); assert_eq!(is_alphanumeric(b'9'), true); assert_eq!(is_alphanumeric(b'A'), true);