//! Glob pattern matching utilities.
usewildcard::Wildcard;/// Returns true if the text matches the glob pattern.
pubfnmatches(pattern:&str, text:&str)->bool{Wildcard::new(pattern.as_bytes()).ok().map(|w|w.is_match(text.as_bytes())).unwrap_or(false)}