enable parsing of US ZIP+ codes

The four-digit part of these postcodes will simply be ignored.
This commit is contained in:
Sarah Hoffmann
2025-02-25 20:29:06 +01:00
parent 157414a053
commit eff60ba6be

View File

@@ -1809,7 +1809,8 @@ us:
languages: en
names: !include country-names/us.yaml
postcode:
pattern: "ddddd"
pattern: "(ddddd)(?:-dddd)?"
output: \1
# Uruguay (Uruguay)