Skip to main content

glob_match

Function glob_match 

Source
pub fn glob_match(pattern: &str, text: &str) -> bool
Expand description

Simple glob pattern matching supporting * and ?.

  • * matches zero or more characters
  • ? matches exactly one character