Skip to main content

match_glob

Function match_glob 

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

Match a glob pattern against text

Supports:

  • * - matches any characters
  • ? - matches any single character
  • [abc] - matches any character in the set

Note: Matching is case-insensitive.