summaryrefslogtreecommitdiffstats
path: root/javascript
diff options
context:
space:
mode:
authortronikos@gmail.com <tronikos@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2012-05-08 10:16:36 +0000
committertronikos@gmail.com <tronikos@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2012-05-08 10:16:36 +0000
commit1f2ab1760ef398c2339ee3860c2e7504f8c98a6d (patch)
tree4d896d54db3fb6d2d588d1d0ce4397bbe908c83d /javascript
parentfb8a1e79c377200a2934192bf03e9c1208387077 (diff)
downloadandroid_external_libphonenumbergoogle-1f2ab1760ef398c2339ee3860c2e7504f8c98a6d.tar.gz
android_external_libphonenumbergoogle-1f2ab1760ef398c2339ee3860c2e7504f8c98a6d.tar.bz2
android_external_libphonenumbergoogle-1f2ab1760ef398c2339ee3860c2e7504f8c98a6d.zip
JS: Metadata changes only (v4.8.1).
git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@449 ee073f10-1060-11df-b6a4-87a95322a99c
Diffstat (limited to 'javascript')
-rw-r--r--javascript/README2
-rw-r--r--javascript/i18n/phonenumbers/metadata.js67
-rw-r--r--javascript/i18n/phonenumbers/metadatalite.js67
3 files changed, 89 insertions, 47 deletions
diff --git a/javascript/README b/javascript/README
index 71ff8ac..d6d9b8b 100644
--- a/javascript/README
+++ b/javascript/README
@@ -25,7 +25,7 @@ pages with your web browser:
How to update:
==============
-The JavaScript library is ported from the Java implementation (revision 441).
+The JavaScript library is ported from the Java implementation (revision 448).
When the Java project gets updated follow these steps to update the JavaScript
project:
diff --git a/javascript/i18n/phonenumbers/metadata.js b/javascript/i18n/phonenumbers/metadata.js
index 3ce9a57..514315e 100644
--- a/javascript/i18n/phonenumbers/metadata.js
+++ b/javascript/i18n/phonenumbers/metadata.js
@@ -214,6 +214,7 @@ i18n.phonenumbers.metadata.countryCodeToRegionCodeMap = {
,853:["MO"]
,855:["KH"]
,856:["LA"]
+,870:["001"]
,880:["BD"]
,883:["001"]
,886:["TW"]
@@ -958,8 +959,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
]
,"CA":[,[,,"[2-9]\\d{9}|3\\d{6}","\\d{7}(?:\\d{3})?"]
-,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|38|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"2042345678"]
-,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|38|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2042345678"]
+,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|3[18]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"2042345678"]
+,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|3[18]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2042345678"]
,[,,"8(?:00|55|66|77|88)[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"8002123456"]
,[,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"]
,[,,"NA","NA"]
@@ -1064,7 +1065,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"CI":[,[,,"[02-6]\\d{7}","\\d{8}"]
,[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}","\\d{8}",,,"21234567"]
-,[,,"(?:0[1-9]|4[04-9]|5[057-9]|6[05679])\\d{6}","\\d{8}",,,"01234567"]
+,[,,"(?:0[1-9]|4[0-24-9]|5[057-9]|6[05679])\\d{6}","\\d{8}",,,"01234567"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -1512,7 +1513,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"EG":[,[,,"1\\d{4,9}|[2456]\\d{8}|3\\d{7}|[89]\\d{8,9}","\\d{5,10}"]
,[,,"(?:1(3[23]\\d|5[23])|2[2-4]\\d{2}|3\\d{2}|4(?:0[2-5]|[578][23]|64)\\d|5(?:0[2-7]|[57][23])\\d|6[24-689]3\\d|8(?:2[2-57]|4[26]|6[237]|8[2-4])\\d|9(?:2[27]|3[24]|52|6[2356]|7[2-4])\\d)\\d{5}|1[69]\\d{3}","\\d{5,9}",,,"234567890"]
-,[,,"1(?:0[0169]|1[124]|2[0-278])\\d{7}","\\d{10}",,,"1001234567"]
+,[,,"1(?:0[01269]|1[124]|2[0-278])\\d{7}","\\d{10}",,,"1001234567"]
,[,,"800\\d{7}","\\d{10}",,,"8001234567"]
,[,,"900\\d{7}","\\d{10}",,,"9001234567"]
,[,,"NA","NA"]
@@ -1520,7 +1521,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
,"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"]
,"0$1","",0]
-,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:0[0169]|1[124]|2[0-278]|5[0-2])|[89]00"]
+,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[012]|5[0-2])|[89]00"]
,"0$1","",0]
,[,"(\\d{2})(\\d{6,7})","$1 $2",["1(?:3|5[23])|[4-6]|[89][2-9]"]
,"0$1","",0]
@@ -2006,11 +2007,11 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"91[123]","\\d{3}",,,"911"]
,[,,"NA","NA"]
]
-,"HK":[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{7,10}","\\d{8,11}"]
-,[,,"[23]\\d{7}","\\d{8}",,,"21234567"]
-,[,,"[569]\\d{7}","\\d{8}",,,"51234567"]
+,"HK":[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{4,10}","\\d{5,11}"]
+,[,,"(?:[23]\\d|5[78])\\d{6}","\\d{8}",,,"21234567"]
+,[,,"(?:5[1-69]\\d|6\\d{2}|9(?:0[1-9]|[1-8]\\d))\\d{5}","\\d{8}",,,"51234567"]
,[,,"800\\d{6}","\\d{9}",,,"800123456"]
-,[,,"900\\d{8}","\\d{11}",,,"90012345678"]
+,[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})","\\d{5,11}",,,"90012345678"]
,[,,"NA","NA"]
,[,,"8[1-3]\\d{6}","\\d{8}",,,"81123456"]
,[,,"NA","NA"]
@@ -2020,6 +2021,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"","",0]
,[,"(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]
,"","",0]
+,[,"(900)(\\d{2,5})","$1 $2",["900"]
+,"","",0]
]
,,[,,"7\\d{7}","\\d{8}",,,"71234567"]
,,,[,,"NA","NA"]
@@ -2220,13 +2223,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"IN":[,[,,"1\\d{7,12}|[2-9]\\d{9,10}","\\d{6,13}"]
,[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[126-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-58]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","\\d{6,10}",,,"1123456789"]
-,[,,"(?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[13-9]|5[0-4789]|7[3679]|8[1-9]|9[689])|4(?:0[1-5789]|1[15-9]|[29][89]|39|8[389])|5(?:0[0-5789]|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|[39][5-9]|42|60)|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7\\d|9[013-9]))|8(?:0(?:[01589]\\d|66)|1(?:[024]\\d|1[56]|30|7[19]|97)|2(?:[2369]\\d|52|7[01357]|8[567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]\\d|10|6[09])|5(?:0[07-9]|11|[26]\\d|30|4[47]|5[39]|7[45]|85|9[015])|6(?:[0589]\\d|49|7[0-59])|7(?:1[24]|33|49|[2569]\\d)|8(?:[07-9]\\d|17|2[024-8]|44|5[3589]|6[0167])|9(?:[057-9]\\d|2[35-9]|3[019]|4[036-8]|6[0-46-9]))|9\\d{3})\\d{6}","\\d{10}",,,"9123456789"]
+,[,,"(?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0\\d|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|[39][5-9]|42|60)|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7\\d|9[013-9]))|8(?:0(?:[01589]\\d|66)|1(?:[024]\\d|1[56]|30|7[19]|97)|2(?:[2369]\\d|52|7[0135789]|8[01567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]\\d|10|6[09])|5(?:0[07-9]|1[01]|[26]\\d|30|4[47]|5[39]|7[45]|8[56]|9[0157])|6(?:[0589]\\d|49|7[0-59])|7(?:1[24]|33|49|[2569]\\d)|8(?:[07-9]\\d|1[057]|2[024-8]|44|5[3589]|6[0167])|9(?:[05-9]\\d|2[35-9]|3[019]|4[036-8]))|9\\d{3})\\d{6}","\\d{10}",,,"9123456789"]
,[,,"1(?:600\\d{6}|80(?:0\\d{4,8}|3\\d{9}))","\\d{8,13}",,,"1800123456"]
,[,,"186[12]\\d{9}","\\d{13}",,,"1861123456789"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,"IN",91,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{6})","$1 $2 $3",["7(?:2[0579]|3[057-9]|4[0-389]|5[024-9]|6[0-35-9]|7[03469]|8[0-4679])|8(?:0[01589]|1[0-479]|2[236-9]|3[0479]|4[0-68]|5|6[045789]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[13-9]|5[0-4789]|7[3679]|8[1-9]|9[689])|4(?:0[1-5789]|1[15-9]|[29][89]|39|8[389])|5(?:0[0-5789]|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|9[5-9])|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7|9[013-9]))|8(?:0[01589]|1(?:[024]|1[56]|30|7[19]|97)|2(?:[2369]|7[01357]|8[567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]|10|6[09])|5(?:0[07-9]|11|[26]|30|4[47]|5[39]|85|7[45]|9[015])|6(?:[0589]|49|7[0-5])|7(?:1[24]|33|49|[2569])|8(?:[07-9]|17|2[024-8]|44|5[3589]|6[0167])|9(?:[057-9]|2[35-9]|3[019]|4[03678]|6[0-46-9]))|9"]
+,"IN",91,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{6})","$1 $2 $3",["7(?:2[0579]|3[057-9]|4[0-389]|5[024-9]|6[0-35-9]|7[03469]|8[0-4679])|8(?:0[01589]|1[0-479]|2[236-9]|3[0479]|4[0-68]|5|6[045789]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|9[5-9])|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7|9[013-9]))|8(?:0[01589]|1(?:[024]|1[56]|30|7[19]|97)|2(?:[2369]|7[0135789]|8[01567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]|10|6[09])|5(?:0[07-9]|1[01]|[26]|30|4[47]|5[39]|8[56]|7[45]|9[0157])|6(?:[0589]|49|7[0-5])|7(?:1[24]|33|49|[2569])|8(?:[07-9]|1[057]|2[024-8]|44|5[3589]|6[0167])|9(?:[05-9]|2[35-9]|3[019]|4[03678]))|9"]
,"0$1","",1]
,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79|80[2-46]"]
,"0$1","",1]
@@ -2290,9 +2293,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"NA","NA"]
,[,,"NA","NA"]
]
-,"IR":[,[,,"[2-6]\\d{4,9}|9(?:[134]\\d{8}|9\\d{2,8})|[178]\\d{9}","\\d{4,10}"]
-,[,,"2(?:1[2-9]\\d{2,7}|51\\d{3,7})|(?:241|3(?:11|51)|441|5[14]1)\\d{4,7}|(?:3(?:34|41)|6(?:11|52))\\d{6,7}|(?:1(?:[134589][12]|[27][1-4])|2(?:2[189]|[3689][12]|42|5[256]|7[34])|3(?:12|2[1-4]|3[125]|4[24-9]|5[23]|[6-9][12])|4(?:[135-9][12]|2[1-467]|4[2-4])|5(?:12|2[89]|3[1-5]|4[2-8]|[5-7][12]|8[1245])|6(?:12|[347-9][12]|51|6[1-6])|7(?:[13589][12]|2[1289]|4[1-4]|6[1-6]|7[1-3])|8(?:[145][12]|3[124578]|6[1256]|7[1245]))\\d{7}","\\d{5,10}",,,"2123456789"]
-,[,,"9(?:1(?:[039]\\d|1[1-36-9]|2[1-8]|4[01346-9]|5[13-9]|6[1-35-9]|7[1-9]|8[1346-9])|3(?:13|2[1-579]|47|[5-9]\\d))\\d{6}","\\d{10}",,,"9123456789"]
+,"IR":[,[,,"[2-6]\\d{4,9}|9(?:[1-4]\\d{8}|9\\d{2,8})|[178]\\d{9}","\\d{4,10}"]
+,[,,"2(?:1[2-9]\\d{2,7}|51\\d{3,7})|(?:241|3(?:11|51)|441|5[14]1)\\d{4,7}|(?:3(?:34|41)|6(?:11|52))\\d{6,7}|(?:1(?:[134589][12]|[27][1-4])|2(?:2[189]|[389][12]|42|5[256]|6[1-59]|7[34])|3(?:12|2[1-4]|3[125]|4[24-9]|5[23]|[6-9][12])|4(?:[135-9][12]|2[1-467]|4[2-4])|5(?:12|2[89]|3[1-5]|4[2-8]|[5-7][12]|8[1245])|6(?:12|[347-9][12]|51|6[1-6])|7(?:[13589][12]|2[1289]|4[1-4]|6[1-6]|7[1-3])|8(?:[145][12]|3[124578]|6[1256]|7[1245]))\\d{7}","\\d{5,10}",,,"2123456789"]
+,[,,"9(?:1(?:[039]\\d|[16][1-35-9]|2[1-8]|4[013-9]|[57][1-9]|8[13-9])|2[01]\\d|3(?:[035-9]\\d|13|2[1-579]|47))\\d{6}","\\d{10}",,,"9123456789"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -2689,16 +2692,16 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
]
,"LB":[,[,,"[13-9]\\d{6,7}","\\d{7,8}"]
-,[,,"(?:[14-6]\\d{2}|7(?:[2-57-9]\\d|62)|[89][2-9]\\d)\\d{4}","\\d{7}",,,"1123456"]
-,[,,"(?:3\\d|7(?:[01]\\d|6[013-9]))\\d{5}","\\d{7,8}",,,"71123456"]
+,[,,"(?:[14-6]\\d{2}|7(?:[2-579]\\d|62|8[0-7])|[89][2-9]\\d)\\d{4}","\\d{7}",,,"1123456"]
+,[,,"(?:3\\d|7(?:[01]\\d|6[013-9]|88))\\d{5}","\\d{7,8}",,,"71123456"]
,[,,"NA","NA"]
,[,,"9[01]\\d{6}","\\d{8}",,,"90123456"]
,[,,"8[01]\\d{6}","\\d{8}",,,"80123456"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-57-9]|62)|[89][2-9]"]
+,"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-579]|62|8[0-7])|[89][2-9]"]
,"0$1","",0]
-,[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9])"]
+,[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9]|88)"]
,"","",0]
]
,,[,,"NA","NA"]
@@ -2892,7 +2895,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MA":[,[,,"[5689]\\d{8}","\\d{9}"]
,[,,"5(?:2(?:(?:[015-7]\\d|2[2-9]|3[2-57]|4[2-8]|8[235-9]|)\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}",,,"520123456"]
-,[,,"6(?:0[0-6]|[14-7]\\d|2[23679]|3[03458]|80|99)\\d{6}","\\d{9}",,,"650123456"]
+,[,,"6(?:0[0-6]|[14-7]\\d|2[23679]|3[03458]|8[01]|99)\\d{6}","\\d{9}",,,"650123456"]
,[,,"80\\d{7}","\\d{9}",,,"801234567"]
,[,,"89\\d{7}","\\d{9}",,,"891234567"]
,[,,"NA","NA"]
@@ -2962,7 +2965,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"(?:88\\d|9(?:4[13-8]|5[16-8]))\\d{5}","\\d{8}",,,"94515151"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,[,,"78[134579]\\d{5}","\\d{8}",,,"78108780"]
+,[,,"78[1-9]\\d{5}","\\d{8}",,,"78108780"]
,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[3789]","[2-57-9]|6(?:[389]|7(?:[0-8]|9[3-9]))"]
,"0$1","",0]
,[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"]
@@ -3057,9 +3060,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"1[578]","\\d{2}",,,"17"]
,[,,"NA","NA"]
]
-,"MM":[,[,,"[124-8]\\d{5,7}|9(?:[25689]|[47]\\d)\\d{6}","\\d{5,9}"]
+,"MM":[,[,,"[124-8]\\d{5,7}|9(?:[25689]|4\\d{1,2}|7\\d)\\d{6}","\\d{5,10}"]
,[,,"(?:1\\d|2|4[2-6]|5[2-9]|6(?:[0-689]|7\\d?)|7[0-5]|8(?:[2-6]|1\\d?))\\d{5}|1333\\d{4}","\\d{5,8}",,,"1234567"]
-,[,,"9(?:[25689]|[47]\\d)\\d{6}","\\d{8,9}",,,"92123456"]
+,[,,"9(?:[25689]|4(?:[0256]\\d|[1349])|7\\d)\\d{6}","\\d{8,10}",,,"92123456"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -3075,7 +3078,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"0$1","",0]
,[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[4-8]"]
,"0$1","",0]
-,[,"(9)(\\d{3})(\\d{4,5})","$1 $2 $3",["9[24-9]"]
+,[,"(9)(\\d{3})(\\d{4,5})","$1 $2 $3",["9(?:[25-9]|4[1349])"]
+,"0$1","",0]
+,[,"(9)(4\\d{4})(\\d{4})","$1 $2 $3",["94[0256]"]
,"0$1","",0]
]
,,[,,"NA","NA"]
@@ -5086,6 +5091,22 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"NA","NA"]
,[,,"NA","NA"]
]
+,"001":[,[,,"[35-7]\\d{8}","\\d{9}",,,"301234567"]
+,[,,"NA","NA",,,"301234567"]
+,[,,"(?:[356]\\d|7[6-8])\\d{7}","\\d{9}",,,"301234567"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,"001",870,"",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"","",0]
+]
+,,[,,"NA","NA"]
+,,,[,,"NA","NA"]
+,[,,"NA","NA"]
+,,[,,"NA","NA"]
+,[,,"NA","NA"]
+]
,"001":[,[,,"51\\d{7}(?:\\d{3})?","\\d{9}(?:\\d{3})?",,,"510012345"]
,[,,"NA","NA",,,"510012345"]
,[,,"NA","NA",,,"510012345"]
diff --git a/javascript/i18n/phonenumbers/metadatalite.js b/javascript/i18n/phonenumbers/metadatalite.js
index 6406ad9..0b39932 100644
--- a/javascript/i18n/phonenumbers/metadatalite.js
+++ b/javascript/i18n/phonenumbers/metadatalite.js
@@ -214,6 +214,7 @@ i18n.phonenumbers.metadata.countryCodeToRegionCodeMap = {
,853:["MO"]
,855:["KH"]
,856:["LA"]
+,870:["001"]
,880:["BD"]
,883:["001"]
,886:["TW"]
@@ -958,8 +959,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
]
,"CA":[,[,,"[2-9]\\d{9}|3\\d{6}","\\d{7}(?:\\d{3})?"]
-,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|38|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?"]
-,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|38|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?"]
+,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|3[18]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?"]
+,[,,"(?:2(?:04|26|[48]9|50)|3(?:06|43)|4(?:03|1[68]|3[18]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?"]
,[,,"8(?:00|55|66|77|88)[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?"]
,[,,"900[2-9]\\d{6}","\\d{10}"]
,[,,"NA","NA"]
@@ -1064,7 +1065,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"CI":[,[,,"[02-6]\\d{7}","\\d{8}"]
,[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}","\\d{8}"]
-,[,,"(?:0[1-9]|4[04-9]|5[057-9]|6[05679])\\d{6}","\\d{8}"]
+,[,,"(?:0[1-9]|4[0-24-9]|5[057-9]|6[05679])\\d{6}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -1512,7 +1513,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"EG":[,[,,"1\\d{4,9}|[2456]\\d{8}|3\\d{7}|[89]\\d{8,9}","\\d{5,10}"]
,[,,"(?:1(3[23]\\d|5[23])|2[2-4]\\d{2}|3\\d{2}|4(?:0[2-5]|[578][23]|64)\\d|5(?:0[2-7]|[57][23])\\d|6[24-689]3\\d|8(?:2[2-57]|4[26]|6[237]|8[2-4])\\d|9(?:2[27]|3[24]|52|6[2356]|7[2-4])\\d)\\d{5}|1[69]\\d{3}","\\d{5,9}"]
-,[,,"1(?:0[0169]|1[124]|2[0-278])\\d{7}","\\d{10}"]
+,[,,"1(?:0[01269]|1[124]|2[0-278])\\d{7}","\\d{10}"]
,[,,"800\\d{7}","\\d{10}"]
,[,,"900\\d{7}","\\d{10}"]
,[,,"NA","NA"]
@@ -1520,7 +1521,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
,"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"]
,"0$1","",0]
-,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:0[0169]|1[124]|2[0-278]|5[0-2])|[89]00"]
+,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[012]|5[0-2])|[89]00"]
,"0$1","",0]
,[,"(\\d{2})(\\d{6,7})","$1 $2",["1(?:3|5[23])|[4-6]|[89][2-9]"]
,"0$1","",0]
@@ -2006,11 +2007,11 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"91[123]","\\d{3}"]
,[,,"NA","NA"]
]
-,"HK":[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{7,10}","\\d{8,11}"]
-,[,,"[23]\\d{7}","\\d{8}"]
-,[,,"[569]\\d{7}","\\d{8}"]
+,"HK":[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{4,10}","\\d{5,11}"]
+,[,,"(?:[23]\\d|5[78])\\d{6}","\\d{8}"]
+,[,,"(?:5[1-69]\\d|6\\d{2}|9(?:0[1-9]|[1-8]\\d))\\d{5}","\\d{8}"]
,[,,"800\\d{6}","\\d{9}"]
-,[,,"900\\d{8}","\\d{11}"]
+,[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})","\\d{5,11}"]
,[,,"NA","NA"]
,[,,"8[1-3]\\d{6}","\\d{8}"]
,[,,"NA","NA"]
@@ -2020,6 +2021,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"","",0]
,[,"(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]
,"","",0]
+,[,"(900)(\\d{2,5})","$1 $2",["900"]
+,"","",0]
]
,,[,,"7\\d{7}","\\d{8}"]
,,,[,,"NA","NA"]
@@ -2220,13 +2223,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"IN":[,[,,"1\\d{7,12}|[2-9]\\d{9,10}","\\d{6,13}"]
,[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[126-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-58]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","\\d{6,10}"]
-,[,,"(?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[13-9]|5[0-4789]|7[3679]|8[1-9]|9[689])|4(?:0[1-5789]|1[15-9]|[29][89]|39|8[389])|5(?:0[0-5789]|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|[39][5-9]|42|60)|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7\\d|9[013-9]))|8(?:0(?:[01589]\\d|66)|1(?:[024]\\d|1[56]|30|7[19]|97)|2(?:[2369]\\d|52|7[01357]|8[567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]\\d|10|6[09])|5(?:0[07-9]|11|[26]\\d|30|4[47]|5[39]|7[45]|85|9[015])|6(?:[0589]\\d|49|7[0-59])|7(?:1[24]|33|49|[2569]\\d)|8(?:[07-9]\\d|17|2[024-8]|44|5[3589]|6[0167])|9(?:[057-9]\\d|2[35-9]|3[019]|4[036-8]|6[0-46-9]))|9\\d{3})\\d{6}","\\d{10}"]
+,[,,"(?:7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]\\d|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0\\d|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|[39][5-9]|42|60)|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7\\d|9[013-9]))|8(?:0(?:[01589]\\d|66)|1(?:[024]\\d|1[56]|30|7[19]|97)|2(?:[2369]\\d|52|7[0135789]|8[01567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]\\d|10|6[09])|5(?:0[07-9]|1[01]|[26]\\d|30|4[47]|5[39]|7[45]|8[56]|9[0157])|6(?:[0589]\\d|49|7[0-59])|7(?:1[24]|33|49|[2569]\\d)|8(?:[07-9]\\d|1[057]|2[024-8]|44|5[3589]|6[0167])|9(?:[05-9]\\d|2[35-9]|3[019]|4[036-8]))|9\\d{3})\\d{6}","\\d{10}"]
,[,,"1(?:600\\d{6}|80(?:0\\d{4,8}|3\\d{9}))","\\d{8,13}"]
,[,,"186[12]\\d{9}","\\d{13}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,"IN",91,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{6})","$1 $2 $3",["7(?:2[0579]|3[057-9]|4[0-389]|5[024-9]|6[0-35-9]|7[03469]|8[0-4679])|8(?:0[01589]|1[0-479]|2[236-9]|3[0479]|4[0-68]|5|6[045789]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[13-9]|5[0-4789]|7[3679]|8[1-9]|9[689])|4(?:0[1-5789]|1[15-9]|[29][89]|39|8[389])|5(?:0[0-5789]|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|9[5-9])|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7|9[013-9]))|8(?:0[01589]|1(?:[024]|1[56]|30|7[19]|97)|2(?:[2369]|7[01357]|8[567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]|10|6[09])|5(?:0[07-9]|11|[26]|30|4[47]|5[39]|85|7[45]|9[015])|6(?:[0589]|49|7[0-5])|7(?:1[24]|33|49|[2569])|8(?:[07-9]|17|2[024-8]|44|5[3589]|6[0167])|9(?:[057-9]|2[35-9]|3[019]|4[03678]|6[0-46-9]))|9"]
+,"IN",91,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{6})","$1 $2 $3",["7(?:2[0579]|3[057-9]|4[0-389]|5[024-9]|6[0-35-9]|7[03469]|8[0-4679])|8(?:0[01589]|1[0-479]|2[236-9]|3[0479]|4[0-68]|5|6[045789]|7[1-69]|8[0124-9]|9[02-9])|9","7(?:2(?:0[04-9]|5[09]|7[5-8]|9[389])|3(?:0[1-9]|[58]|7[3679]|9[689])|4(?:0[1-9]|1[15-9]|[29][89]|39|8[389])|5(?:0|[47]9|[25]0|6[6-9]|[89][7-9])|6(?:0[027]|12|20|3[19]|5[45]|6[5-9]|7[679]|9[6-9])|7(?:0[27-9]|3[5-9]|42|60|9[5-9])|8(?:[03][07-9]|14|2[7-9]|4[25]|6[09]|7|9[013-9]))|8(?:0[01589]|1(?:[024]|1[56]|30|7[19]|97)|2(?:[2369]|7[0135789]|8[01567])|3(?:0[0235-8]|4[14789]|74|90)|4(?:[02-58]|10|6[09])|5(?:0[07-9]|1[01]|[26]|30|4[47]|5[39]|8[56]|7[45]|9[0157])|6(?:[0589]|49|7[0-5])|7(?:1[24]|33|49|[2569])|8(?:[07-9]|1[057]|2[024-8]|44|5[3589]|6[0167])|9(?:[05-9]|2[35-9]|3[019]|4[03678]))|9"]
,"0$1","",1]
,[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79|80[2-46]"]
,"0$1","",1]
@@ -2290,9 +2293,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"NA","NA"]
,[,,"NA","NA"]
]
-,"IR":[,[,,"[2-6]\\d{4,9}|9(?:[134]\\d{8}|9\\d{2,8})|[178]\\d{9}","\\d{4,10}"]
-,[,,"2(?:1[2-9]\\d{2,7}|51\\d{3,7})|(?:241|3(?:11|51)|441|5[14]1)\\d{4,7}|(?:3(?:34|41)|6(?:11|52))\\d{6,7}|(?:1(?:[134589][12]|[27][1-4])|2(?:2[189]|[3689][12]|42|5[256]|7[34])|3(?:12|2[1-4]|3[125]|4[24-9]|5[23]|[6-9][12])|4(?:[135-9][12]|2[1-467]|4[2-4])|5(?:12|2[89]|3[1-5]|4[2-8]|[5-7][12]|8[1245])|6(?:12|[347-9][12]|51|6[1-6])|7(?:[13589][12]|2[1289]|4[1-4]|6[1-6]|7[1-3])|8(?:[145][12]|3[124578]|6[1256]|7[1245]))\\d{7}","\\d{5,10}"]
-,[,,"9(?:1(?:[039]\\d|1[1-36-9]|2[1-8]|4[01346-9]|5[13-9]|6[1-35-9]|7[1-9]|8[1346-9])|3(?:13|2[1-579]|47|[5-9]\\d))\\d{6}","\\d{10}"]
+,"IR":[,[,,"[2-6]\\d{4,9}|9(?:[1-4]\\d{8}|9\\d{2,8})|[178]\\d{9}","\\d{4,10}"]
+,[,,"2(?:1[2-9]\\d{2,7}|51\\d{3,7})|(?:241|3(?:11|51)|441|5[14]1)\\d{4,7}|(?:3(?:34|41)|6(?:11|52))\\d{6,7}|(?:1(?:[134589][12]|[27][1-4])|2(?:2[189]|[389][12]|42|5[256]|6[1-59]|7[34])|3(?:12|2[1-4]|3[125]|4[24-9]|5[23]|[6-9][12])|4(?:[135-9][12]|2[1-467]|4[2-4])|5(?:12|2[89]|3[1-5]|4[2-8]|[5-7][12]|8[1245])|6(?:12|[347-9][12]|51|6[1-6])|7(?:[13589][12]|2[1289]|4[1-4]|6[1-6]|7[1-3])|8(?:[145][12]|3[124578]|6[1256]|7[1245]))\\d{7}","\\d{5,10}"]
+,[,,"9(?:1(?:[039]\\d|[16][1-35-9]|2[1-8]|4[013-9]|[57][1-9]|8[13-9])|2[01]\\d|3(?:[035-9]\\d|13|2[1-579]|47))\\d{6}","\\d{10}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -2689,16 +2692,16 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"NA","NA"]
]
,"LB":[,[,,"[13-9]\\d{6,7}","\\d{7,8}"]
-,[,,"(?:[14-6]\\d{2}|7(?:[2-57-9]\\d|62)|[89][2-9]\\d)\\d{4}","\\d{7}"]
-,[,,"(?:3\\d|7(?:[01]\\d|6[013-9]))\\d{5}","\\d{7,8}"]
+,[,,"(?:[14-6]\\d{2}|7(?:[2-579]\\d|62|8[0-7])|[89][2-9]\\d)\\d{4}","\\d{7}"]
+,[,,"(?:3\\d|7(?:[01]\\d|6[013-9]|88))\\d{5}","\\d{7,8}"]
,[,,"NA","NA"]
,[,,"9[01]\\d{6}","\\d{8}"]
,[,,"8[01]\\d{6}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-57-9]|62)|[89][2-9]"]
+,"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-579]|62|8[0-7])|[89][2-9]"]
,"0$1","",0]
-,[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9])"]
+,[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9]|88)"]
,"","",0]
]
,,[,,"NA","NA"]
@@ -2892,7 +2895,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MA":[,[,,"[5689]\\d{8}","\\d{9}"]
,[,,"5(?:2(?:(?:[015-7]\\d|2[2-9]|3[2-57]|4[2-8]|8[235-9]|)\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}"]
-,[,,"6(?:0[0-6]|[14-7]\\d|2[23679]|3[03458]|80|99)\\d{6}","\\d{9}"]
+,[,,"6(?:0[0-6]|[14-7]\\d|2[23679]|3[03458]|8[01]|99)\\d{6}","\\d{9}"]
,[,,"80\\d{7}","\\d{9}"]
,[,,"89\\d{7}","\\d{9}"]
,[,,"NA","NA"]
@@ -2962,7 +2965,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"(?:88\\d|9(?:4[13-8]|5[16-8]))\\d{5}","\\d{8}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
-,[,,"78[134579]\\d{5}","\\d{8}"]
+,[,,"78[1-9]\\d{5}","\\d{8}"]
,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[3789]","[2-57-9]|6(?:[389]|7(?:[0-8]|9[3-9]))"]
,"0$1","",0]
,[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"]
@@ -3057,9 +3060,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"1[578]","\\d{2}"]
,[,,"NA","NA"]
]
-,"MM":[,[,,"[124-8]\\d{5,7}|9(?:[25689]|[47]\\d)\\d{6}","\\d{5,9}"]
+,"MM":[,[,,"[124-8]\\d{5,7}|9(?:[25689]|4\\d{1,2}|7\\d)\\d{6}","\\d{5,10}"]
,[,,"(?:1\\d|2|4[2-6]|5[2-9]|6(?:[0-689]|7\\d?)|7[0-5]|8(?:[2-6]|1\\d?))\\d{5}|1333\\d{4}","\\d{5,8}"]
-,[,,"9(?:[25689]|[47]\\d)\\d{6}","\\d{8,9}"]
+,[,,"9(?:[25689]|4(?:[0256]\\d|[1349])|7\\d)\\d{6}","\\d{8,10}"]
,[,,"NA","NA"]
,[,,"NA","NA"]
,[,,"NA","NA"]
@@ -3075,7 +3078,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"0$1","",0]
,[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[4-8]"]
,"0$1","",0]
-,[,"(9)(\\d{3})(\\d{4,5})","$1 $2 $3",["9[24-9]"]
+,[,"(9)(\\d{3})(\\d{4,5})","$1 $2 $3",["9(?:[25-9]|4[1349])"]
+,"0$1","",0]
+,[,"(9)(4\\d{4})(\\d{4})","$1 $2 $3",["94[0256]"]
,"0$1","",0]
]
,,[,,"NA","NA"]
@@ -5086,6 +5091,22 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,[,,"NA","NA"]
,[,,"NA","NA"]
]
+,"001":[,[,,"[35-7]\\d{8}","\\d{9}"]
+,[,,"NA","NA"]
+,[,,"(?:[356]\\d|7[6-8])\\d{7}","\\d{9}"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,[,,"NA","NA"]
+,"001",870,"",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"","",0]
+]
+,,[,,"NA","NA"]
+,,,[,,"NA","NA"]
+,[,,"NA","NA"]
+,,[,,"NA","NA"]
+,[,,"NA","NA"]
+]
,"001":[,[,,"51\\d{7}(?:\\d{3})?","\\d{9}(?:\\d{3})?"]
,[,,"NA","NA"]
,[,,"NA","NA"]