pub fn glob_match(pattern: &str, text: &str) -> bool
Whether text matches pattern, where * in the pattern matches any run of characters (including none) and everything else matches itself.
text
pattern
*