pub fn validate_format(
code: &str,
alphabet: &Alphabet,
expected_length: usize,
) -> ValidationResultExpand description
Validate code format only (length and characters), without checking the check digit.
Useful for quick format validation before more expensive operations.