pub fn validate_pattern<T: AsStr>(
value: &T,
regex: &Regex,
pattern_str: &str,
path: &[PathSegment],
errors: &mut ValidationErrors,
)pub fn validate_pattern<T: AsStr>(
value: &T,
regex: &Regex,
pattern_str: &str,
path: &[PathSegment],
errors: &mut ValidationErrors,
)