Function is_well_formed_code
fn is_well_formed_code(token: &str) -> boolExpand description
Whether a token is a well-formed calendar code: non-empty after trimming
and made only of ASCII letters, digits and dots. This one rule decides what
lookup accepts as a member and what ingest_calendar accepts as a code,
so a stray character is refused the same way wherever it appears.