Skip to content

Commit d2323da

Browse files
authored
Merge pull request #9 from ricardorcr/correctJapanRegex
Corrected Japan regex PCT-9 #resolve
2 parents 77b1b15 + ec8edb6 commit d2323da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/postal-codes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@
14121412
"Country": "Japan",
14131413
"ISO": "JP",
14141414
"Format": "NNNNNNN (NNN-NNNN)",
1415-
"Regex": "^\\d{7}\\s\\(\\d{3}-\\d{4}\\)$",
1415+
"Regex": "^\\d{7}|\\d{3}-\\d{4}$",
14161416
"Example": "5263321 (062-3535)"
14171417
},
14181418
{

0 commit comments

Comments
 (0)