pub fn validate_regex_pattern( value: &str, field_name: &str, pattern: &str, ) -> Result<()>
Validates that a field value matches a regex pattern