Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.12.47
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s):
   FR, GB, GE, GG, HR, JE, MT, NC, PA, SE
 - Updated carrier data for country calling code(s):
   33 (en), 41 (en), 46 (en), 351 (en), 385 (en), 420 (en), 974 (en), 995 (en)
  • Loading branch information
giggsey committed Apr 19, 2022
1 parent d0a5e26 commit 4ec0021
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 17 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
v8.12.46
v8.12.47
2 changes: 2 additions & 0 deletions src/carrier/data/en/33.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@
3375632 => 'Euroinformation Telecom',
3375633 => 'Euroinformation Telecom',
3375634 => 'Euroinformation Telecom',
3375644 => 'SFR',
3375645 => 'SFR',
337565 => 'Transatel',
337566 => 'Transatel',
337567 => 'Transatel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/351.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
3519292 => 'NOS',
3519293 => 'NOS',
3519294 => 'NOS',
3519295 => 'Sumamovil Portugal',
35193 => 'NOS',
35196 => 'MEO',
);
3 changes: 2 additions & 1 deletion src/carrier/data/en/385.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
38592 => 'A1 Telekom',
38595 => 'Tele2',
385970 => 'Hrvatski Telekom',
385975 => 'Telefocus',
3859751 => 'Telefocus',
3859759 => 'Altavox',
385976 => 'Hrvatski Telekom',
385977 => 'Hrvatski Telekom',
385979 => 'Hrvatski Telekom',
Expand Down
6 changes: 6 additions & 0 deletions src/carrier/data/en/41.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
417507 => 'Swisscom',
417508 => 'Swisscom',
417509 => 'Swisscom',
417519 => 'Swisscom',
417520 => 'Swisscom',
417521 => 'Swisscom',
417522 => 'Swisscom',
417523 => 'Swisscom',
417524 => 'Swisscom',
41754 => 'Swisscom',
417550 => 'Swisscom',
417551 => 'Swisscom',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/420.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
4207947 => 'O2',
4207948 => 'O2',
4207950 => 'Vectone Distribution Czech Republic s.r.o(Mundio)',
4207951 => 'Vectone Distribution Czech Republic s.r.o(Mundio)',
42079750 => 'Dial Telecom',
4207976 => 'T-Mobile',
42079770 => 'T-Mobile',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/46.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
4672669 => 'Nortech',
467267 => 'TeliaSonera',
467268 => 'TeliaSonera',
4672695 => 'Telenor Sverige',
4672698 => 'SWEDFONENET AB',
46726990 => 'Gotalandsnatet',
46726991 => 'Fast Communication',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/974.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
97433 => 'ooredoo',
974399 => 'ooredoo',
97450 => 'ooredoo',
974510 => 'ooredoo',
974511 => 'ooredoo',
974520 => 'ooredoo',
97455 => 'ooredoo',
974599 => 'ooredoo',
Expand Down
7 changes: 6 additions & 1 deletion src/carrier/data/en/995.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
9955005 => 'MagtiCom',
9955007 => 'MyPhone',
995505 => 'MagtiCom',
995511 => 'MagtiCom',
9955110 => 'MagtiCom',
9955111 => 'MagtiCom',
9955112 => 'MagtiCom',
9955113 => 'MagtiCom',
9955115 => 'Silknet',
9955117 => 'MagtiCom',
995514 => 'Geocell',
99552 => 'MagtiCom',
99553 => 'MagtiCom',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
),
'sharedCost' =>
array (
'NationalNumberPattern' => '8(?:1[01]|2[0156]|84)\\d{6}',
'NationalNumberPattern' => '8(?:1[01]|2[0156]|4[02]|84)\\d{6}',
'ExampleNumber' => '884012345',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GB.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-24-69]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-278])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}',
'NationalNumberPattern' => '(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\d\\d|6(?:[0-4]\\d\\d|50[0-24-69]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-27-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}',
'ExampleNumber' => '1212345678',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -119,7 +119,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GE.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:0070|(?:11|33)33|[25]222)[0-4]\\d{3}|5(?:00(?:0\\d|50)|11(?:00|1\\d|2[0-4])|5200|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}',
'NationalNumberPattern' => '5(?:(?:0555|1177)[5-9]|757(?:7[7-9]|8[01]))\\d{3}|5(?:00(?:0\\d|50)|11(?:00|1\\d|2[0-4]|3[01])|5200|75(?:00|[57]5)|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88)))\\d{4}|5(?:0070|11(?:33|51)|[25]222|3333)[0-4]\\d{3}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\d{6}',
'ExampleNumber' => '555123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GG.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HR.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '9(?:751\\d{5}|8\\d{6,7})|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}',
'NationalNumberPattern' => '98\\d{6,7}|975(?:1\\d|96)\\d{4}|9(?:0[1-9]|[1259]\\d|7[0679])\\d{6}',
'ExampleNumber' => '921234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_JE.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\d{6}',
'NationalNumberPattern' => '76(?:464|652)\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}',
'ExampleNumber' => '7640123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MT.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '800[3467]\\d{4}',
'NationalNumberPattern' => '800(?:02|[3467]\\d)\\d{3}',
'ExampleNumber' => '80071234',
'PossibleLength' =>
array (
Expand Down
9 changes: 5 additions & 4 deletions src/data/PhoneNumberMetadata_NC.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[2-57-9]\\d{5}',
'NationalNumberPattern' => '(?:050|[2-57-9]\\d\\d)\\d{3}',
'PossibleLength' =>
array (
0 => 6,
Expand Down Expand Up @@ -47,9 +47,10 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '050\\d{3}',
'ExampleNumber' => '050012',
'PossibleLength' =>
array (
0 => -1,
),
'PossibleLengthLocalOnly' =>
array (
Expand Down Expand Up @@ -160,7 +161,7 @@
'format' => '$1.$2.$3',
'leadingDigitsPatterns' =>
array (
0 => '[2-57-9]',
0 => '[02-57-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -175,7 +176,7 @@
'format' => '$1.$2.$3',
'leadingDigitsPatterns' =>
array (
0 => '[2-57-9]',
0 => '[02-57-9]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_PA.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[05]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[6-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}',
'NationalNumberPattern' => '(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[258]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}',
'ExampleNumber' => '2001234',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SE.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '649\\d{6}|9(?:(?:00|39|44)[1-8]\\d{3,6}|9[1-59]\\d{4})',
'NationalNumberPattern' => '649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}',
'ExampleNumber' => '9001234567',
'PossibleLength' =>
array (
Expand Down

0 comments on commit 4ec0021

Please sign in to comment.