X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9cf700e85d723736bf54334f0b1bd9e885cbb42a..2e6ff1b7508e738c1ecb4647aa5890422b771121:/settings/country_settings.yaml diff --git a/settings/country_settings.yaml b/settings/country_settings.yaml index 67905ea2..b0bacdfc 100644 --- a/settings/country_settings.yaml +++ b/settings/country_settings.yaml @@ -1386,8 +1386,7 @@ mz: languages: pt names: !include country-names/mz.yaml postcode: - pattern: "(dddd)-?(dd)?" - output: \1-\2 + pattern: "(dddd)(?:-dd)?" # Namibia (Namibia) @@ -1999,7 +1998,7 @@ ua: languages: uk names: !include country-names/ua.yaml postcode: - pattern: "ddddd" + pattern: "d?ddddd" # Uganda (Uganda) @@ -2025,7 +2024,7 @@ us: languages: en names: !include country-names/us.yaml postcode: - pattern: "(ddddd)(?:-dddd)?" + pattern: "ddddd" # Uruguay (Uruguay)