= Country Code Check = {{{ #!rule meta { title: "Country Code Check"; version: "1.[[revision]]_[[date]]"; author: "CjMalone"; link: "https://josm.openstreetmap.de/wiki/Rules/CountryCodeCheck"; baselanguage: "en"; } *[addr:country][addr:country!~/^[A-Z]{2}$/] { throwWarning: "addr:country should be a valid country code, e.g. DE, GB or US"; } }}}