Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata updates for release 8.13.1 #2850

Merged
merged 1 commit into from Nov 10, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
198 changes: 99 additions & 99 deletions cpp/src/phonenumbers/alternate_format.cc

Large diffs are not rendered by default.

17,323 changes: 8,664 additions & 8,659 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

18,495 changes: 9,250 additions & 9,245 deletions cpp/src/phonenumbers/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.
149 changes: 75 additions & 74 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions javascript/i18n/phonenumbers/metadata.js
Expand Up @@ -2887,8 +2887,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"GI":[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]
]
,[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}",,,,"20012345"]
,[,,"(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"]
,[,,"21(?:6[24-9]\\d|90[0-2])\\d{3}|2(?:00|2[2-5])\\d{5}",,,,"20012345"]
,[,,"525(?:0\\d|1[0-4])\\d{3}|(?:5[146-8]\\d|606)\\d{5}",,,,"57123456"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3974,7 +3974,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9]
,[5,6]
]
,[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}",,,,"700123456",,,[9]
,[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}",,,,"700123456",,,[9]
]
,[,,"800\\d{6,7}",,,,"800123456"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -4260,7 +4260,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"KZ":[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14]
,[5,6,7]
]
,[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10]
,[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,"7123456789",,,[10]
,[5,6,7]
]
,[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,"7710009998",,,[10]
Expand Down Expand Up @@ -6307,7 +6307,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]
]
,[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,"8 ($1)",,1]
,[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"]
,"8 ($1)",,1]
Expand All @@ -6318,7 +6318,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"]
,"8 ($1)"]
]
,[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,"8 ($1)",,1]
,[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"]
,"8 ($1)",,1]
Expand Down
12 changes: 6 additions & 6 deletions javascript/i18n/phonenumbers/metadatalite.js
Expand Up @@ -2887,8 +2887,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"GI":[,[,,"(?:[25]\\d\\d|606)\\d{5}",,,,,,,[8]
]
,[,,"21(?:6[24-7]\\d|90[0-2])\\d{3}|2(?:00|2[25])\\d{5}"]
,[,,"(?:5[146-8]\\d|606)\\d{5}"]
,[,,"21(?:6[24-9]\\d|90[0-2])\\d{3}|2(?:00|2[2-5])\\d{5}"]
,[,,"525(?:0\\d|1[0-4])\\d{3}|(?:5[146-8]\\d|606)\\d{5}"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3974,7 +3974,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,,,,[9]
,[5,6]
]
,[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}",,,,,,,[9]
,[,,"312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|99[05-9])\\d{6}",,,,,,,[9]
]
,[,,"800\\d{6,7}"]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -4260,7 +4260,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"KZ":[,[,,"(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",,,,,,,[10,14]
,[5,6,7]
]
,[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,,,,[10]
,[,,"(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",,,,,,,[10]
,[5,6,7]
]
,[,,"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",,,,,,,[10]
Expand Down Expand Up @@ -6307,7 +6307,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
]
,"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[0-79]"]
]
,[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,"8 ($1)",,1]
,[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"]
,"8 ($1)",,1]
Expand All @@ -6318,7 +6318,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,"(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"]
,"8 ($1)"]
]
,[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,[[,"(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"]
,"8 ($1)",,1]
,[,"(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"]
,"8 ($1)",,1]
Expand Down
Binary file modified metadata/metadata.zip
Binary file not shown.
9 changes: 9 additions & 0 deletions release_notes.txt
@@ -1,3 +1,12 @@
Nov 10, 2022: v8.13.1
Metadata changes:
- Updated alternate formatting data for country calling code(s): 7
- Updated phone metadata for region code(s): GI, KG, KZ, RU
- Updated geocoding data for country calling code(s): 7 (en, ru), 64 (en)
- Updated carrier data for country calling code(s):
51 (en), 350 (en), 420 (en), 996 (en)
- Updated / refreshed time zone meta data.

Oct 28, 2022: v8.13.0
- Removal of unused leading_zero_possible proto field in phonemetadata.proto and all generated code. This has not been used for a long time, it was removed from metadata in 2017.
Metadata changes:
Expand Down
36 changes: 19 additions & 17 deletions resources/PhoneNumberAlternateFormats.xml
Expand Up @@ -3266,7 +3266,8 @@
[3489]|
7(?:
1(?:
[0-6]2|
[0-356]2|
4[29]|
7|
8[27]
)|
Expand All @@ -3283,21 +3284,22 @@
<numberFormat pattern="(\d{5})(\d{5})">
<leadingDigits>
[3489]|
72(?:
6|
7[457]
)|
7(?:
1(?:
[06][3-6]|
[13-5][3-5]|
2[35]|
8[34]
)|
2(?:
[1-38][3-5]|
[49][35]|
5[3-6]|
6|
7[457]
)
)
12|
2[49]
)[35]|
7(?:
1[13-58]|
2[1-38]
)[3-5]|
7(?:
1[06]|
25
)[3-6]
</leadingDigits>
<format>$1 $2</format>
</numberFormat>
Expand All @@ -3319,7 +3321,7 @@
<leadingDigits>
[3489]|
7(?:
[04-8]|
[04-9]|
1(?:
04|
[236]3|
Expand All @@ -3340,7 +3342,7 @@
<leadingDigits>
[3489]|
7(?:
[04-8]|
[04-9]|
1(?:
04|
[236]3|
Expand Down
23 changes: 16 additions & 7 deletions resources/PhoneNumberMetadata.xml
Expand Up @@ -11365,19 +11365,23 @@
<exampleNumber>20012345</exampleNumber>
<nationalNumberPattern>
21(?:
6[24-7]\d|
6[24-9]\d|
90[0-2]
)\d{3}|
2(?:
00|
2[25]
2[2-5]
)\d{5}
</nationalNumberPattern>
</fixedLine>
<mobile>
<possibleLengths national="8"/>
<exampleNumber>57123456</exampleNumber>
<nationalNumberPattern>
525(?:
0\d|
1[0-4]
)\d{3}|
(?:
5[146-8]\d|
606
Expand Down Expand Up @@ -16865,6 +16869,7 @@
2\d
)|
5[0-24-7]\d|
600|
7(?:
[07]\d|
55
Expand Down Expand Up @@ -17888,7 +17893,8 @@
4(?:
[24]\d|
3[013-9]|
5[1-9]
5[1-9]|
97
)|
5(?:
2\d|
Expand All @@ -17905,7 +17911,8 @@
8(?:
[27]\d|
3[1-46-9]|
4[0-5]
4[0-5]|
59
)
)|
2(?:
Expand All @@ -17931,7 +17938,7 @@
)|
5(?:
[23]\d|
4[0-246-8]|
4[0-8]|
59|
61
)|
Expand Down Expand Up @@ -25017,7 +25024,8 @@
<leadingDigits>
7(?:
1(?:
[0-6]2|
[0-356]2|
4[29]|
7|
8[27]
)|
Expand All @@ -25030,7 +25038,8 @@
<leadingDigits>
7(?:
1(?:
[0-6]2|
[0-356]2|
4[29]|
7|
8[27]
)|
Expand Down
7 changes: 6 additions & 1 deletion resources/carrier/en/350.txt
Expand Up @@ -12,5 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

3505|GibTel
35051|Gibfibre
35052|Gibfibre
35054|GibTel
35056|GibTel
35057|GibTel
35058|GibTel
3506|GibTel
1 change: 1 addition & 0 deletions resources/carrier/en/420.txt
Expand Up @@ -196,5 +196,6 @@
42079954|T-Mobile
42079955|GoMobil
42079956|GoMobil
42079957|T-Mobile
42079979|miniTEL
42079999|T-Mobile
2 changes: 2 additions & 0 deletions resources/carrier/en/51.txt
Expand Up @@ -14,6 +14,8 @@

51900|Claro
51901|Claro
51904|Entel
51905|Entel
51910|Claro
51912|Entel
51913|Claro
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/996.txt
Expand Up @@ -23,6 +23,7 @@
99655|ALFA Telecom
99656|Winline
99657|Sotel
996600|Sky mobile
99670|Nur Telecom
99675|ALFA Telecom
99677|Sky mobile
Expand Down