Skip to content

Commit 1449e96

Browse files
author
Ricardo Rodrigues
committed
Corrected Taiwan regex PCT-14 #resolve
1 parent 0532c3b commit 1449e96

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/resources/postal-codes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,9 @@
803803
"Note": "The first three digits of the postal code are required; the last two digits are optional. Codes are known as youdi quhao (郵遞區號), and are also assigned to Senkaku Islands (Diaoyutai), though Japanese-administered, the Pratas Islands and the Spratly Islands. See List of postal codes in Taiwan.",
804804
"Country": "Taiwan",
805805
"ISO": "TW",
806-
"Format": "NNNNN",
807-
"Regex": "^\\d{5}$",
808-
"Example": "11546"
806+
"Format": "NNN (NNNNN)",
807+
"Regex": "^\\d{3,5}$",
808+
"Example": "115"
809809
},
810810
{
811811
"Note": "",
@@ -1412,7 +1412,7 @@
14121412
"Country": "Japan",
14131413
"ISO": "JP",
14141414
"Format": "NNN-NNNN",
1415-
"Regex": "^\\d{3}-\\d{4}\\$",
1415+
"Regex": "^\\d{3}-\\d{4}$",
14161416
"Example": "062-3535"
14171417
},
14181418
{

0 commit comments

Comments
 (0)