pub fn matches_pattern(value: &str, pattern: PatternType) -> bool
Check if a value matches a specific pattern.