Skip to content

Commit a4da80e

Browse files
committed
Merge metadata changes from upstream 9.0.0
Includes changes in resources/ up to and including upstream commit cf97126eae55: "[maven-release-plugin] prepare release v9.0.0"
1 parent 45c822e commit a4da80e

File tree

12 files changed

+61
-84
lines changed

12 files changed

+61
-84
lines changed

resources/PhoneNumberAlternateFormats.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@
25122512
<numberFormat pattern="(\d{2})(\d{2})(\d{4})">
25132513
<leadingDigits>
25142514
[2-69]|
2515-
76
2515+
7[67]
25162516
</leadingDigits>
25172517
<format>$1 $2 $3</format>
25182518
</numberFormat>

resources/PhoneNumberMetadata.xml

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,7 @@
16361636
3(?:
16371637
4(?:
16381638
42|
1639+
64|
16391640
71
16401641
)|
16411642
5(?:
@@ -1678,7 +1679,7 @@
16781679
3[78]|
16791680
4[457]|
16801681
58|
1681-
6[03-9]|
1682+
6[035-9]|
16821683
72|
16831684
83|
16841685
9[136-8]
@@ -1917,6 +1918,7 @@
19171918
3(?:
19181919
4(?:
19191920
42|
1921+
64|
19201922
71
19211923
)|
19221924
5(?:
@@ -1959,7 +1961,7 @@
19591961
3[78]|
19601962
4[457]|
19611963
58|
1962-
6[03-9]|
1964+
6[035-9]|
19631965
72|
19641966
83|
19651967
9[136-8]
@@ -4217,7 +4219,7 @@
42174219
39[5-7]|
42184220
76[018]
42194221
)\d|
4220-
475[0-5]
4222+
475[0-6]
42214223
)\d{4}
42224224
</nationalNumberPattern>
42234225
</voip>
@@ -12117,7 +12119,7 @@
1211712119
396|
1211812120
76\d
1211912121
)\d|
12120-
476[0-5]
12122+
476[0-6]
1212112123
)\d{4}
1212212124
</nationalNumberPattern>
1212312125
</voip>
@@ -12654,7 +12656,7 @@
1265412656
39[5-7]|
1265512657
76[018]
1265612658
)\d|
12657-
475[0-5]
12659+
475[0-6]
1265812660
)\d{4}
1265912661
</nationalNumberPattern>
1266012662
</voip>
@@ -13206,11 +13208,14 @@
1320613208
<possibleLengths national="7"/>
1320713209
<exampleNumber>6091234</exampleNumber>
1320813210
<nationalNumberPattern>
13209-
510\d{4}|
1321013211
(?:
13211-
6\d|
13212-
7[0-5]
13213-
)\d{5}
13212+
510|
13213+
6\d\d|
13214+
7(?:
13215+
[0-5]\d|
13216+
6[01]
13217+
)
13218+
)\d{4}
1321413219
</nationalNumberPattern>
1321513220
</mobile>
1321613221
<tollFree>
@@ -13317,14 +13322,14 @@
1331713322
<nationalNumberPattern>
1331813323
(?:
1331913324
4(?:
13320-
44[0-25-9]|
13325+
44[0-35-9]|
1332113326
6(?:
13322-
1[0-7]|
13327+
1[0-79]|
1332313328
4[0-57-9]|
1332413329
6[0-4]
1332513330
)|
1332613331
7(?:
13327-
4[0-2]|
13332+
4[0-28]|
1332813333
6[0-5]
1332913334
)
1333013335
)|
@@ -17052,15 +17057,14 @@
1705217057
</numberFormat>
1705317058
<numberFormat pattern="(\d)(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
1705417059
<leadingDigits>
17055-
3|
17060+
[36]|
1705617061
4(?:
1705717062
2[09]|
1705817063
7[01]
17059-
)|
17060-
6[1-9]
17064+
)
1706117065
</leadingDigits>
1706217066
<leadingDigits>
17063-
3|
17067+
[36]|
1706417068
4(?:
1706517069
2(?:
1706617070
0|
@@ -17070,8 +17074,7 @@
1707017074
0[019]|
1707117075
1
1707217076
)
17073-
)|
17074-
6[1-9]
17077+
)
1707517078
</leadingDigits>
1707617079
<format>$1-$2-$3</format>
1707717080
</numberFormat>
@@ -17457,7 +17460,7 @@
1745717460
<format>$1-$2-$3</format>
1745817461
</numberFormat>
1745917462
<numberFormat pattern="(\d{2})(\d{4})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
17460-
<leadingDigits>[25-9]</leadingDigits>
17463+
<leadingDigits>[257-9]</leadingDigits>
1746117464
<format>$1-$2-$3</format>
1746217465
</numberFormat>
1746317466
<numberFormat pattern="(\d{4})(\d{3})(\d{3,4})">
@@ -17484,7 +17487,7 @@
1748417487
<generalDesc>
1748517488
<nationalNumberPattern>
1748617489
00[1-9]\d{6,14}|
17487-
[25-9]\d{9}|
17490+
[257-9]\d{9}|
1748817491
(?:
1748917492
00|
1749017493
[1-9]\d\d
@@ -17563,12 +17566,7 @@
1756317566
<mobile>
1756417567
<possibleLengths national="10"/>
1756517568
<exampleNumber>9012345678</exampleNumber>
17566-
<nationalNumberPattern>
17567-
(?:
17568-
60\d|
17569-
[7-9]0[1-9]
17570-
)\d{7}
17571-
</nationalNumberPattern>
17569+
<nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
1757217570
</mobile>
1757317571
<pager>
1757417572
<possibleLengths national="10"/>
@@ -20509,7 +20507,7 @@
2050920507
39[5-7]|
2051020508
76[018]
2051120509
)\d|
20512-
475[0-5]
20510+
475[0-6]
2051320511
)\d{4}
2051420512
</nationalNumberPattern>
2051520513
</voip>
@@ -25727,7 +25725,7 @@
2572725725
<nationalNumberPattern>
2572825726
9(?:
2572925727
399[0-3]|
25730-
479[0-5]|
25728+
479[0-6]|
2573125729
76(?:
2573225730
2[278]|
2573325731
3[0-37]
@@ -26875,7 +26873,7 @@
2687526873
<possibleLengths national="8"/>
2687626874
<exampleNumber>81234567</exampleNumber>
2687726875
<nationalNumberPattern>
26878-
896[0-4]\d{4}|
26876+
896[0-46-8]\d{4}|
2687926877
(?:
2688026878
8(?:
2688126879
0[1-9]|
@@ -27337,7 +27335,7 @@
2733727335
25|
2733827336
3[0-5]|
2733927337
66|
27340-
7[2-9]|
27338+
7[1-9]|
2734127339
8[08]|
2734227340
9[09]
2734327341
)\d{6}
@@ -27466,7 +27464,7 @@
2746627464
0[01]|
2746727465
[19]0|
2746827466
2[25]|
27469-
3[36]|
27467+
3[356]|
2747027468
[4-7]\d|
2747127469
8[35]
2747227470
)
@@ -28446,8 +28444,8 @@
2844628444
)\d{6}|
2844728445
(?:
2844828446
[09]\d|
28449-
1[0178]|
28450-
2[02]|
28447+
1[0-27-9]|
28448+
2[0-27]|
2845128449
[34]0|
2845228450
5[05]|
2845328451
7[01578]|
@@ -29713,8 +29711,8 @@
2971329711
[015-8]\d|
2971429712
2[067]|
2971529713
36|
29716-
4[0-7]|
29717-
9[89]
29714+
4[0-8]|
29715+
9[089]
2971829716
)\d{6}
2971929717
</nationalNumberPattern>
2972029718
</mobile>
@@ -30784,7 +30782,7 @@
3078430782
<nationalNumberPattern>
3078530783
4(?:
3078630784
1[24-8]|
30787-
2[46]
30785+
2[246]
3078830786
)\d{7}
3078930787
</nationalNumberPattern>
3079030788
</mobile>
@@ -31688,6 +31686,7 @@
3168831686
<possibleLengths national="9"/>
3168931687
<exampleNumber>101234567</exampleNumber>
3169031688
<nationalNumberPattern>
31689+
50[0-2]\d{6}|
3169131690
(?:
3169231691
2(?:
3169331692
0330|

resources/carrier/en/221.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
22171|Orange
2020
22172|HAYO
2121
22175|Promobile
22+
2217535|Orange
2223
2217536|Orange
2324
221757|Origines
2425
2217585|Orange

resources/carrier/en/256.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
25676|MTN
1212
25677|MTN
1313
25678|MTN
14-
25679|Africell
14+
256790|MTN
15+
256798|Africell
16+
256799|Africell

resources/carrier/en/58.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
58412|Digitel GSM
1616
58414|movistar
1717
58416|Movilnet
18+
58422|Digitel GSM
1819
58424|movistar
1920
58426|Movilnet

resources/carrier/en/592.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@
6767
592742|E-Networks
6868
59275|GTT
6969
592750|Digicel Guyana
70+
59276|E-Networks

resources/carrier/en/65.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,7 @@
397397
658950|M1
398398
658951|M1
399399
658952|M1
400-
658960|Simba
401-
658961|Simba
402-
658962|Simba
400+
65896|Simba
403401
658963|SingTel
404402
658964|SingTel
405403
659001|StarHub

resources/carrier/en/852.txt

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
# Copyright (C) 2013 The Libphonenumber Authors
2-
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
15-
# Prefixes from http://www.ofca.gov.hk/mobile/en/industry_focus/telecommunications/portability/numbering/index.html
16-
# Hong Kong Telecommunications (HKT) Limited is a subsidiary of PCCW.
17-
# '3' is brand name of Hutchison Telephone Co limited.
18-
# New World Mobility is known as Sun Mobile now.
19-
# Prefix 5549 is assigned for Government use, no information on the carrier.
20-
# Prefix 624, 683, 69[68] and 905 which were previously assigned to CM Mobile is
21-
# now on hold, so carrier details are removed for these prefixes. Prefix 9057 is
22-
# assigned to HKT based on user report.
23-
241
852440|China Mobile
252
852441|HKT
263
852442|Hutchison Telecom
@@ -45,6 +22,7 @@
4522
8524615|China Unicom
4623
8524616|China Unicom
4724
8524617|China Mobile
25+
8524619|China Telecom Global Limited
4826
8524620|China Mobile
4927
8524621|China Mobile
5028
8524622|China Mobile
@@ -84,7 +62,10 @@
8462
8524699|South China Telecommunications
8563
852470|Hutchison Telecom
8664
852471|Hutchison Telecom
87-
852474|China Mobile
65+
8524740|China Mobile
66+
8524741|China Mobile
67+
8524742|China Mobile
68+
8524748|China Telecom Global Limited
8869
852475|Hutchison Telecom
8970
852476|China Mobile
9071
852510|China Mobile

resources/carrier/en/992.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@
1919
99207|Megafon
2020
99210|O-Mobile
2121
99211|Tcell
22+
99212|Megafon
2223
99217|Babilon-M
2324
99218|ZET-MOBILE
24-
9922|O-Mobile
25+
99219|ZET-MOBILE
26+
99220|O-Mobile
27+
99221|Megafon
28+
99222|O-Mobile
29+
99227|Megafon
2530
99230|O-Mobile
2631
992330|ZET-MOBILE
2732
992333|ZET-MOBILE

resources/carrier/zh/852.txt

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
# Copyright (C) 2016 The Libphonenumber Authors
2-
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
15-
# Translations of en/852.txt from each carrier's wikipedia page and in
16-
# some cases the carrier's own home page.
17-
181
852440|中国移动
192
852441|香港移动通讯
203
852442|和記電話有限公司
@@ -39,6 +22,7 @@
3922
8524615|中国联通
4023
8524616|中国联通
4124
8524617|中国移动
25+
8524619|
4226
8524620|中国移动
4327
8524621|中国移动
4428
8524622|中国移动
@@ -78,7 +62,10 @@
7862
8524699|中國南方電信(香港)有限公司
7963
852470|和記電話有限公司
8064
852471|和記電話有限公司
81-
852474|中国移动
65+
8524740|中国移动
66+
8524741|中国移动
67+
8524742|中国移动
68+
8524748|
8269
852475|和記電話有限公司
8370
852476|中国移动
8471
852510|中国移动

0 commit comments

Comments
 (0)