Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.11
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s):
   BL, CG, GB, GF, GP, MF, RE, SG, TJ, YT
  • Loading branch information
giggsey committed Apr 27, 2023
1 parent 5b5a467 commit 814a3ae
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 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.10
v8.13.11
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_BL.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_CG.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
),
'premiumRate' =>
array (
'NationalNumberPattern' => '80(?:0\\d\\d|120)\\d{4}',
'NationalNumberPattern' => '80[0-2]\\d{6}',
'ExampleNumber' => '800123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion 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[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|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-246-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}',
'NationalNumberPattern' => '(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|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-46-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
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_GF.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '594(?:[0239]\\d|1[0-2]|4[03-9]|5[6-9]|6[0-3]|80)\\d{4}',
'NationalNumberPattern' => '594(?:[0239]\\d|[16][0-3]|4[03-9]|5[6-9]|80)\\d{4}',
'ExampleNumber' => '594101234',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:396|76\\d)\\d|476[01])\\d{4}',
'NationalNumberPattern' => '9(?:(?:396|76\\d)\\d|476[0-2])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GP.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MF.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[01])\\d{4}',
'NationalNumberPattern' => '9(?:(?:395|76[018])\\d|475[0-2])\\d{4}',
'ExampleNumber' => '976012345',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_RE.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-2]|479[01]|76(?:2[27]|3[0-37]|9\\d)))\\d{4}',
'NationalNumberPattern' => '(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-3]|479[0-2]|76(?:2[27]|3[0-37]|9\\d)))\\d{4}',
'ExampleNumber' => '692123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_SG.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '8(?:06[0-6]|95[0-2])\\d{4}|(?:8(?:0[1-5]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}',
'NationalNumberPattern' => '8(?:06[0-689]|95[0-2])\\d{4}|(?:8(?:0[1-5]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}',
'ExampleNumber' => '81234567',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_TJ.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:00|[1-57-9]\\d)\\d{7}',
'NationalNumberPattern' => '[0-57-9]\\d{8}',
'PossibleLength' =>
array (
0 => 9,
Expand Down Expand Up @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '41[18]\\d{6}|(?:[034]0|1[017]|2[02]|5[05]|7[0178]|8[078]|9\\d)\\d{7}',
'NationalNumberPattern' => '41[18]\\d{6}|(?:0[0-27]|1[017]|2[02]|[34]0|5[05]|7[0178]|8[078]|9\\d)\\d{7}',
'ExampleNumber' => '917123456',
'PossibleLength' =>
array (
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_YT.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '(?:(?:(?:26|63)9|80\\d)\\d\\d|93980)\\d{4}',
'NationalNumberPattern' => '(?:(?:(?:26|63)9|80\\d)\\d|9398)\\d{5}',
'PossibleLength' =>
array (
0 => 9,
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|93980)\\d{4}',
'NationalNumberPattern' => '(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|9398[01])\\d{4}',
'ExampleNumber' => '639012345',
'PossibleLength' =>
array (
Expand Down

0 comments on commit 814a3ae

Please sign in to comment.