Skip to main content

matches_pattern

Function matches_pattern 

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

Test whether text matches a glob pattern (* matches any characters).