Skip to main content

pattern_matches

Function pattern_matches 

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

Check if a pattern matches a string using glob-style wildcards. Supports: * (match any characters)