Skip to main content

names_loosely_match

Function names_loosely_match 

Source
fn names_loosely_match(
    registry_name: RegistryName<'_>,
    candidate: &FastTrackCandidate,
) -> bool
Expand description

Whether the two records plausibly describe the same person: either surname or any one of the registry’s given names has to agree, ignoring case and diacritics.

Loose on purpose. The ordinary case is a registry holding a full official name against an account holding a nickname, and punishing that would cost coverage for no safety. A mismatch is still a fall-through to the emailed link, which resolves the ambiguity by asking a human.