pub fn validate_format(
entry: &IndexEntry,
value: &str,
catalogue: &Catalogue,
) -> FormatCheckExpand description
Validate value against the format rule attached to entry.
Resolution order:
entry.format_regex(inline) wins.entry.pattern_idthen resolves throughcatalogue.- Neither set →
FormatCheck::NoRule.
Inline regex compile errors surface as
FormatCheck::Error — the caller decides whether that’s a
hard fail or a doctor-style warning.