ignore 5+ postcodes in the US for now

Hierarchical postcodes need a different treatment.
This commit is contained in:
Sarah Hoffmann
2022-06-23 16:17:47 +02:00
parent 3dd7410bb7
commit 536f08f33a

View File

@@ -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)