pub fn validate_pattern(input: &str, pattern: &str) -> UtilResult<()>
Validate that a string matches a pattern