From 536f08f33a1388c5022c2adf799da55035fd7e0a Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 23 Jun 2022 16:17:47 +0200 Subject: [PATCH] ignore 5+ postcodes in the US for now Hierarchical postcodes need a different treatment. --- settings/country_settings.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 14d08de3..b0bacdfc 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -1998,7 +1998,7 @@ ua: languages: uk names: !include country-names/ua.yaml postcode: - pattern: "ddddd" + pattern: "d?ddddd" # Uganda (Uganda) @@ -2024,7 +2024,7 @@ us: languages: en names: !include country-names/us.yaml postcode: - pattern: "(ddddd)(?:-dddd)?" + pattern: "ddddd" # Uruguay (Uruguay) -- 2.39.5