Skip to content

Commit 9f6e441

Browse files
dr5hnclaude
andcommitted
fix(countries): normalise postal_code_format alternative-separator to | (BM, TW)
The convention used by GB/GG/IM/JE/BH/IR/LB/NL/PY/SH/AU-territories is to separate alternative postal code formats with the pipe character. Two outliers used non-standard separators: BM '@@ ## or @@ @@' -> '@@ ##|@@ @@' TW '###/#####/######' -> '###|#####|######' Pure-cosmetic — neither postal_code_regex changes, no postcode rows touched, no FK or geometry impact. This makes downstream postal-format parsers (e.g. csc-validator) consistent across all 13 multi-format countries. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4069a81 commit 9f6e441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

contributions/countries/countries.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,7 @@
17321732
"subregion_id": 6,
17331733
"nationality": "Bermudian, Bermudan",
17341734
"area_sq_km": 53.0,
1735-
"postal_code_format": "@@ ## or @@ @@",
1735+
"postal_code_format": "@@ ##|@@ @@",
17361736
"postal_code_regex": "^([A-Z]{2}\\s?[A-Z0-9]{2})$",
17371737
"timezones": [
17381738
{
@@ -14384,7 +14384,7 @@
1438414384
"subregion_id": 12,
1438514385
"nationality": "Chinese, Taiwanese",
1438614386
"area_sq_km": 35980.0,
14387-
"postal_code_format": "###/#####/######",
14387+
"postal_code_format": "###|#####|######",
1438814388
"postal_code_regex": "^(\\d{3}(?:\\d{2,3})?)$",
1438914389
"timezones": [
1439014390
{

0 commit comments

Comments
 (0)