matches_pattern

Function matches_pattern 

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

Validates that a string matches a regex pattern.