pub fn range_type(name: &str) -> Option<usize>
Get the POSIX class type from name (from pattern.c range_type)