Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.14
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s):
   BD, EE, ET, IR, MM, MN, NZ, OM, QA
 - Updated short number metadata for region code(s): QA
 - Updated geocoding data for country calling code(s): 95 (en)
 - Updated carrier data for country calling code(s):
   33 (en), 51 (en), 98 (en, fa), 372 (en)
  • Loading branch information
giggsey committed Jun 13, 2023
1 parent a899655 commit f4a5e4e
Show file tree
Hide file tree
Showing 20 changed files with 166 additions and 14,134 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.13.13
v8.13.14
2 changes: 2 additions & 0 deletions src/carrier/data/en/33.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@
3375705 => 'Mobiweb telecom limited',
3375706 => 'Nordnet',
3375707 => 'Keyyo',
3375714 => 'AIF',
3375715 => 'AIF',
3375717 => 'Keyyo',
337572 => 'Mobiquithings',
337573 => 'Mobiquithings',
Expand Down
5 changes: 4 additions & 1 deletion src/carrier/data/en/372.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
3728217 => 'Tele 2',
3728218 => 'Tele 2',
37282199 => 'Tele 2',
3728273 => 'Tele 2',
3728270 => 'Telia Eesti AS',
3728271 => 'Telia Eesti AS',
3728272 => 'Telia Eesti AS',
3728273 => 'Telia Eesti AS',
3728282 => 'Telia Eesti AS',
3728285 => 'Tele 2',
3728286 => 'Tele 2',
Expand Down
3 changes: 3 additions & 0 deletions src/carrier/data/en/51.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
51901 => 'Claro',
51904 => 'Entel',
51905 => 'Entel',
51906 => 'Entel',
51907 => 'Entel',
51908 => 'Entel',
51910 => 'Claro',
51912 => 'Entel',
51913 => 'Claro',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/98.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
98994 => 'IR-MCI',
98996 => 'IR-MCI',
989981 => 'Shatel Mobile',
989982 => 'Shatel Mobile',
9899900 => 'LOTUSTEL',
9899902 => 'IR-MCI',
989991 => 'Irancell',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/fa/98.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
98994 => 'همراه اول',
98996 => 'همراه اول',
989981 => 'شاتل موبایل',
989982 => 'شاتل موبایل',
9899900 => 'لوتوس‌تل',
9899902 => 'همراه اول',
989991 => 'ایرانسل',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BD.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
'format' => '$1-$2',
'leadingDigitsPatterns' =>
array (
0 => '3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]',
0 => '3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]',
),
'nationalPrefixFormattingRule' => '0$1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_EE.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[3679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}',
'NationalNumberPattern' => '(?:5\\d{5}|8(?:1(?:0(?:000|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:000|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[0-3679]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}',
'ExampleNumber' => '51234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_ET.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '7001\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}',
'NationalNumberPattern' => '700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}',
'ExampleNumber' => '911234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_IR.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:1\\d|88)|9(?:0[0-3]|[19]\\d|21|77|8[7-9])))\\d{5}',
'NationalNumberPattern' => '9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}',
'ExampleNumber' => '9123456789',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MM.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|39|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|39|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4(?:39|[67]0))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}',
'NationalNumberPattern' => '(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}',
'ExampleNumber' => '1234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MN.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:83[01]|920)\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}',
'NationalNumberPattern' => '(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}',
'ExampleNumber' => '88123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_NZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '2[0-27-9]\\d{7,8}|21\\d{6}',
'NationalNumberPattern' => '2[0-27-9]\\d{7,8}|2(?:1\\d|75)\\d{5}',
'ExampleNumber' => '211234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_OM.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '2[2-6]\\d{6}',
'NationalNumberPattern' => '2[1-6]\\d{6}',
'ExampleNumber' => '23123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_QA.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
),
'pager' =>
array (
'NationalNumberPattern' => '2(?:1\\d|61)\\d{4}',
'NationalNumberPattern' => '2[16]\\d{5}',
'ExampleNumber' => '2123456',
'PossibleLength' =>
array (
Expand Down
10 changes: 6 additions & 4 deletions src/data/ShortNumberMetadata_QA.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
),
'tollFree' =>
array (
'NationalNumberPattern' => '999',
'ExampleNumber' => '999',
'NationalNumberPattern' => '99\\d',
'ExampleNumber' => '990',
'PossibleLength' =>
array (
0 => 3,
Expand All @@ -39,9 +39,11 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '900',
'ExampleNumber' => '900',
'PossibleLength' =>
array (
0 => -1,
0 => 3,
),
'PossibleLengthLocalOnly' =>
array (
Expand All @@ -61,7 +63,7 @@
),
'shortCode' =>
array (
'NationalNumberPattern' => '999|(?:1|20|9[27]\\d)\\d\\d',
'NationalNumberPattern' => '9(?:00|[19]\\d)|(?:1|20|9[27]\\d)\\d\\d',
'ExampleNumber' => '100',
'PossibleLength' =>
array (
Expand Down
Loading

0 comments on commit f4a5e4e

Please sign in to comment.