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
2 changes: 1 addition & 1 deletion cpp/src/phonenumbers/alternate_format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ static const unsigned char data[] = {
0x39, 0x5D, 0x0A, 0x8C, 0x01, 0x4A, 0x00, 0x50, 0x22, 0x9A, 0x01, 0x43, 0x0A,
0x15, 0x28, 0x5C, 0x64, 0x7B, 0x33, 0x7D, 0x29, 0x28, 0x5C, 0x64, 0x7B, 0x33,
0x7D, 0x29, 0x28, 0x5C, 0x64, 0x7B, 0x33, 0x7D, 0x29, 0x12, 0x08, 0x24, 0x31,
0x20, 0x24, 0x32, 0x20, 0x24, 0x33, 0x1A, 0x20, 0x5B, 0x35, 0x2D, 0x37, 0x5D,
0x20, 0x24, 0x32, 0x20, 0x24, 0x33, 0x1A, 0x20, 0x5B, 0x34, 0x2D, 0x37, 0x5D,
0x7C, 0x38, 0x30, 0x5B, 0x33, 0x36, 0x37, 0x5D, 0x7C, 0x39, 0x30, 0x5B, 0x31,
0x32, 0x38, 0x39, 0x5D, 0x7C, 0x5B, 0x38, 0x39, 0x5D, 0x5B, 0x31, 0x2D, 0x38,
0x5D, 0x9A, 0x01, 0x3F, 0x0A, 0x1C, 0x28, 0x5C, 0x64, 0x7B, 0x32, 0x7D, 0x29,
Expand Down
2 changes: 0 additions & 2 deletions cpp/src/phonenumbers/alternate_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
namespace i18n {
namespace phonenumbers {

// Returns the serialized alternate-format PhoneMetadataCollection used by
// PhoneNumberMatcher. See metadata_bytes.h for ownership semantics.
MetadataBytes GetAlternateFormat();

} // namespace phonenumbers
Expand Down
22,564 changes: 11,281 additions & 11,283 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

24,036 changes: 12,017 additions & 12,019 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions cpp/src/phonenumbers/metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
namespace i18n {
namespace phonenumbers {

// Returns the serialized PhoneMetadataCollection used by PhoneNumberUtil.
// See metadata_bytes.h for ownership semantics. Default implementation
// returns a non-owning view over a static array; embedders may override.
MetadataBytes GetMetadata();

} // namespace phonenumbers
Expand Down
2 changes: 0 additions & 2 deletions cpp/src/phonenumbers/short_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
namespace i18n {
namespace phonenumbers {

// Returns the serialized short-number PhoneMetadataCollection used by
// ShortNumberInfo. See metadata_bytes.h for ownership semantics.
MetadataBytes GetShortMetadata();

} // namespace phonenumbers
Expand Down
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.
Binary file not shown.
Binary file not shown.
28 changes: 14 additions & 14 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions javascript/i18n/phonenumbers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"2(?:22|33)\\d{6}",,,,"222123456",,,[9]
]
,[,,"(?:24[23]|6(?:[25-9]\\d|4[01]))\\d{6}",,,,"671234567",,,[9]
,[,,"(?:24[23]|6(?:[25-9]\\d|4[0-2]))\\d{6}",,,,"671234567",,,[9]
]
,[,,"88\\d{6,7}",,,,"88012345"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -2491,9 +2491,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"ES":[,[,,"[5-9]\\d{8}",,,,,,,[9]
,"ES":[,[,,"(?:400|[5-9]\\d\\d)\\d{6}",,,,,,,[9]
]
,[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"]
,[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:400|8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}",,,,"810123456"]
,[,,"96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}",,,,"612345678"]
,[,,"[89]00\\d{6}",,,,"800123456"]
,[,,"80[367]\\d{6}",,,,"803123456"]
Expand All @@ -2507,12 +2507,12 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]
]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]
]
]
,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]
]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]
]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3226,7 +3226,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-79]|70))\\d{4}",,,,"6091234"]
,[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|[78]0))\\d{4}",,,,"6091234"]
,[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}",,,,"2891234"]
,[,,"9008\\d{3}",,,,"9008123"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3282,7 +3282,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"HN":[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]
]
,[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]
,[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-8]|5[57]|6[2458]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589]|80)|5(?:0[2357-9]|1[1-6]|4[03-58]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|2[01]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,"22123456",,,[8]
]
,[,,"[37-9]\\d{7}",,,,"91234567",,,[8]
]
Expand Down Expand Up @@ -5322,7 +5322,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]
]
,[,,"8[2-79]\\d{7}",,,,"821234567",,,[9]
,[,,"8(?:[2-79]\\d|80)\\d{6}",,,,"821234567",,,[9]
]
,[,,"800\\d{6}",,,,"800123456",,,[9]
]
Expand All @@ -5334,7 +5334,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]
,"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-9]"]
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]
]
Expand Down Expand Up @@ -6922,7 +6922,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\d{4}",,,,"211234",,,[6]
]
,[,,"(?:6[08]|7[124-7]|8[1-9])\\d{5}",,,,"7412345",,,[7]
,[,,"(?:6[08]|7[1-7]|8[1-9])\\d{5}",,,,"7412345",,,[7]
]
,[,,"80\\d{5}",,,,"8012345",,,[7]
]
Expand Down Expand Up @@ -7335,10 +7335,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"TM":[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]
,"TM":[,[,,"[1-7]\\d{7}",,,,,,,[8]
]
,[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"]
,[,,"(?:6\\d|71)\\d{6}",,,,"66123456"]
,[,,"(?:6\\d|7[12])\\d{6}",,,,"66123456"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -7565,7 +7565,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"TZ":[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]
]
,[,,"2[2-8]\\d{7}",,,,"222345678"]
,[,,"(?:6[1-35-9]|7[013-9])\\d{7}",,,,"621234567"]
,[,,"(?:6[1-35-9]|7\\d)\\d{7}",,,,"621234567"]
,[,,"80[08]\\d{6}",,,,"800123456"]
,[,,"90\\d{7}",,,,"900123456"]
,[,,"8(?:40|6[01])\\d{6}",,,,"840123456"]
Expand Down Expand Up @@ -7656,9 +7656,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"US":[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10]
,[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-2478]|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]
,[,,"(?:472[2-47-9]|983[2-57-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[02469]|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-2478]|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-2478]|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]
,[,,"(?:472[2-47-9]|983[2-57-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[02469]|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-2478]|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 Expand Up @@ -7731,7 +7731,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"UZ":[,[,,"(?:20|33|[5-9]\\d)\\d{7}",,,,,,,[9]
]
,[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"]
,[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}",,,,"669050123"]
,[,,"(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",,,,"912345678"]
,[,,,,,,,,,[-1]
]
Expand Down
32 changes: 16 additions & 16 deletions javascript/i18n/phonenumbers/metadatalite.js
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"2(?:22|33)\\d{6}",,,,,,,[9]
]
,[,,"(?:24[23]|6(?:[25-9]\\d|4[01]))\\d{6}",,,,,,,[9]
,[,,"(?:24[23]|6(?:[25-9]\\d|4[0-2]))\\d{6}",,,,,,,[9]
]
,[,,"88\\d{6,7}"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -2491,9 +2491,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"ES":[,[,,"[5-9]\\d{8}",,,,,,,[9]
,"ES":[,[,,"(?:400|[5-9]\\d\\d)\\d{6}",,,,,,,[9]
]
,[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"]
,[,,"96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:400|8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"]
,[,,"96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}"]
,[,,"[89]00\\d{6}"]
,[,,"80[367]\\d{6}"]
Expand All @@ -2507,12 +2507,12 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]
]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]
]
]
,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]
]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]
,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]
]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3226,7 +3226,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}"]
,[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|70))\\d{4}"]
,[,,"(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|[78]0))\\d{4}"]
,[,,"(?:289|8(?:00|6[28]|88|99))\\d{4}"]
,[,,"9008\\d{3}"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3282,7 +3282,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"HN":[,[,,"8\\d{10}|[237-9]\\d{7}",,,,,,,[8,11]
]
,[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,,,,[8]
,[,,"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-8]|5[57]|6[2458]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589]|80)|5(?:0[2357-9]|1[1-6]|4[03-58]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|2[01]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",,,,,,,[8]
]
,[,,"[37-9]\\d{7}",,,,,,,[8]
]
Expand Down Expand Up @@ -5322,7 +5322,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,,,,[8]
]
,[,,"8[2-79]\\d{7}",,,,,,,[9]
,[,,"8(?:[2-79]\\d|80)\\d{6}",,,,,,,[9]
]
,[,,"800\\d{6}",,,,,,,[9]
]
Expand All @@ -5334,7 +5334,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,,,,,,,,[-1]
]
,"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]
,"MZ",258,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-9]"]
]
,[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]
]
Expand Down Expand Up @@ -6922,7 +6922,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\d{4}",,,,,,,[6]
]
,[,,"(?:6[08]|7[124-7]|8[1-9])\\d{5}",,,,,,,[7]
,[,,"(?:6[08]|7[1-7]|8[1-9])\\d{5}",,,,,,,[7]
]
,[,,"80\\d{5}",,,,,,,[7]
]
Expand Down Expand Up @@ -7335,10 +7335,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"TM":[,[,,"(?:[1-6]\\d|71)\\d{6}",,,,,,,[8]
,"TM":[,[,,"[1-7]\\d{7}",,,,,,,[8]
]
,[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"]
,[,,"(?:6\\d|71)\\d{6}"]
,[,,"(?:6\\d|7[12])\\d{6}"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -7565,7 +7565,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"TZ":[,[,,"(?:[25-8]\\d|41|90)\\d{7}",,,,,,,[9]
]
,[,,"2[2-8]\\d{7}"]
,[,,"(?:6[1-35-9]|7[013-9])\\d{7}"]
,[,,"(?:6[1-35-9]|7\\d)\\d{7}"]
,[,,"80[08]\\d{6}"]
,[,,"90\\d{7}"]
,[,,"8(?:40|6[01])\\d{6}"]
Expand Down Expand Up @@ -7656,9 +7656,9 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"US":[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[10]
,[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-2478]|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}",,,,,,,,[7]
,[,,"(?:472[2-47-9]|983[2-57-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[02469]|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-2478]|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}",,,,,,,,[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-2478]|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}",,,,,,,,[7]
,[,,"(?:472[2-47-9]|983[2-57-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[02469]|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-2478]|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}",,,,,,,,[7]
]
,[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"]
,[,,"900[2-9]\\d{6}"]
Expand Down Expand Up @@ -7731,7 +7731,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"UZ":[,[,,"(?:20|33|[5-9]\\d)\\d{7}",,,,,,,[9]
]
,[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"]
,[,,"(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"]
,[,,"(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]
,[,,,,,,,,,[-1]
]
Expand Down
Binary file modified metadata/metadata.zip
Binary file not shown.
11 changes: 11 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Jul 02, 2026: v9.0.34
Metadata changes:
- Updated alternate formatting data for country calling code(s): 34
- Updated phone metadata for region code(s):
CM, ES, GY, HN, MZ, SR, TM, TZ, US, UZ
- Updated geocoding data for country calling code(s): 504 (en)
- Updated carrier data for country calling code(s):
46 (en), 255 (en), 258 (en), 352 (en), 381 (en), 592 (en), 597 (en),
886 (en), 998 (en)
- Updated / refreshed time zone meta data.

Jun 17, 2026: v9.0.33
Metadata changes:
- Updated phone metadata for region code(s):
Expand Down
Loading
Loading