Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
271 changes: 135 additions & 136 deletions cpp/src/phonenumbers/alternate_format.cc

Large diffs are not rendered by default.

23,544 changes: 11,774 additions & 11,770 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

28,306 changes: 14,155 additions & 14,151 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

1,828 changes: 916 additions & 912 deletions cpp/src/phonenumbers/short_metadata.cc

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
66 changes: 33 additions & 33 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions javascript/i18n/phonenumbers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"AS":[,[,,"(?:[58]\\d\\d|684|900)\\d{7}",,,,,,,[10]
,[7]
]
,[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]
,[,,"684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}",,,,"6846221234",,,,[7]
]
,[,,"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]
,[,,"684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}",,,,"6847331234",,,,[7]
]
,[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"]
,[,,"900[2-9]\\d{6}",,,,"9002123456"]
Expand Down Expand Up @@ -916,7 +916,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",,,,"12345678",,,[8]
]
,[,,"4[5-9]\\d{7}",,,,"470123456",,,[9]
,[,,"4[5-9]\\d{7}",,,,"450001234",,,[9]
]
,[,,"800[1-9]\\d{4}",,,,"80012345",,,[8]
]
Expand Down Expand Up @@ -1514,7 +1514,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"CD":[,[,,"(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",,,,,,,[7,8,9,10]
]
,[,,"(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}",,,,"1234567"]
,[,,"88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",,,,"991234567",,,[7,9]
,[,,"88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}",,,,"991234567",,,[7,9]
]
,[,,,,,,,,,[-1]
]
Expand Down Expand Up @@ -2457,7 +2457,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}",,,,"592401234"]
,"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]
]
,,"528[89]",[,,,,,,,,,[-1]
,,,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
]
Expand Down Expand Up @@ -3231,7 +3231,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"GY":[,[,,"(?:[2-8]\\d{3}|9008)\\d{3}",,,,,,,[7]
]
,[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}",,,,"2201234"]
,[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-59]|70))\\d{4}",,,,"6091234"]
,[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-69]|70))\\d{4}",,,,"6091234"]
,[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"]
,[,,"9008\\d{3}",,,,"9008123"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3724,10 +3724,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"IR":[,[,,"[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",,,,,,,[4,5,6,7,10]
,[8]
]
,[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10]
,[,,"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",,,,"2123456789",,,[6,7,10]
,[4,5,8]
]
,[,,"9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[0159]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]
,[,,"9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}",,,,"9123456789",,,[10]
]
,[,,,,,,,,,[-1]
]
Expand Down Expand Up @@ -3878,9 +3878,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"JM":[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10]
,[7]
]
,[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]
,[,,"8766060\\d{3}|(?:658(?:2(?:[5-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]
]
,[,,"(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]
,[,,"(?:6582(?:[0-4]\\d|95)|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]
]
,[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"]
,[,,"900[2-9]\\d{6}",,,,"9002123456"]
Expand Down Expand Up @@ -4678,7 +4678,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MA":[,[,,"[5-8]\\d{8}",,,,,,,[9]
]
,[,,"5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}",,,,"520123456"]
,[,,"5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}",,,,"520123456"]
,[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",,,,"650123456"]
,[,,"80[0-7]\\d{6}",,,,"801234567"]
,[,,"89\\d{7}",,,,"891234567"]
Expand All @@ -4696,7 +4696,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,,[,,,,,,,,,[-1]
]
,1,,[,,,,,,,,,[-1]
,1,"[5-8]",[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
]
Expand Down Expand Up @@ -5160,7 +5160,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"MU":[,[,,"(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",,,,,,,[7,8,10]
]
,[,,"(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]
,[,,"(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",,,,"54480123",,,[7,8]
]
,[,,"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",,,,"52512345",,,[8]
]
Expand Down Expand Up @@ -6175,10 +6175,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"PY":[,[,,"59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",,,,,,,[6,7,8,9,10,11]
,"PY":[,[,,"[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",,,,,,,[6,7,8,9,10,11]
,[5]
]
,[,,"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9]
,[,,"(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9]
,[5,6]
]
,[,,"9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",,,,"961456789",,,[9]
Expand All @@ -6193,11 +6193,11 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]
]
,"PY",595,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"]
,"0$1"]
,[,"(\\d{7})","$1",["[15]"]
,"PY",595,"00","0",,,"0",,,,[[,"(\\d{6,7})","$1",["[125]|4[01]"]
]
,[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"]
,[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"]
,"0$1"]
,[,"(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"]
,"(0$1)"]
,[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"]
,"(0$1)"]
Expand All @@ -6214,7 +6214,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"]
,"0$1"]
,[,"(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"]
,[,"(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"]
,"(0$1)"]
,[,"(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"]
,"(0$1)"]
Expand All @@ -6233,7 +6233,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,,,[,,,,,,,,,[-1]
]
,[,,"[2-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]
,[,,"[245]0\\d{6,7}|[36-9]0\\d{4,7}",,,,"201234567",,,[6,7,8,9]
]
,,,[,,,,,,,,,[-1]
]
Expand Down Expand Up @@ -6440,7 +6440,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9]
,[7]
]
,[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]
,[,,"579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",,,,"512345678",,,[9]
]
,[,,"800\\d{7}",,,,"8001234567",,,[10]
]
Expand Down Expand Up @@ -7658,9 +7658,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"US":[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10]
,[7]
]
,[,,"(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]
,[,,"(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]
]
,[,,"(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]
,[,,"(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]
]
,[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"]
,[,,"900[2-9]\\d{6}",,,,"9002345678"]
Expand Down
Loading
Loading