Skip to content

Commit

Permalink
Upstream changes from Google for v7.4.2
Browse files Browse the repository at this point in the history
Metadata changes:
 - Updated phone metadata for region code(s): AE, BZ, GU, IN, KR
 - Updated short number metadata for region code(s): BR
 - New geocoding data for country calling code(s): 501 (en)
 - Updated carrier data for country calling code(s):
   91 (en), 971 (en), 1671 (en)
  • Loading branch information
giggsey committed Jun 1, 2016
1 parent 02958b5 commit 0aac9dd
Show file tree
Hide file tree
Showing 12 changed files with 463 additions and 413 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/googlei18n/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
libphonenumber-7.4.1
libphonenumber-7.4.2
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/1671.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

return array (
1671747 => 'PTI PACIFICA',
1671838 => 'i CAN_GSM',
1671848 => 'i CAN_GSM',
1671858 => 'i CAN_GSM',
Expand Down
15 changes: 13 additions & 2 deletions src/libphonenumber/carrier/data/en/91.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,17 @@
9173394 => 'Airtel',
9173395 => 'Airtel',
9173396 => 'Airtel',
9173397 => 'Airtel',
9173398 => 'Airtel',
9173399 => 'Airtel',
917340 => 'Airtel',
9173411 => 'Airtel',
9173470 => 'Airtel',
9173472 => 'Airtel',
9173473 => 'Airtel',
9173474 => 'Airtel',
9173475 => 'Airtel',
9173476 => 'Airtel',
9173477 => 'Idea',
9173478 => 'Idea',
9173480 => 'Idea',
Expand Down Expand Up @@ -1059,7 +1070,7 @@
918267 => 'Tata Docomo',
918268 => 'Aircel',
918269 => 'Videocon',
918270 => 'UNITECH',
918270 => 'Vodafone',
918271 => 'Telewings',
918272 => 'Tata Docomo',
918273 => 'Telewings',
Expand Down Expand Up @@ -1904,7 +1915,7 @@
919202 => 'Tata Docomo',
919203 => 'Tata Docomo',
919204 => 'Tata Docomo',
919205 => 'Tata Docomo',
919205 => 'Airtel',
919206 => 'Tata Docomo',
919207 => 'Tata Docomo',
919208 => 'Tata Docomo',
Expand Down
1 change: 1 addition & 0 deletions src/libphonenumber/carrier/data/en/971.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
return array (
97150 => 'Etisalat',
97152 => 'du',
97154 => 'Etisalat',
97155 => 'du',
97156 => 'Etisalat',
);
4 changes: 2 additions & 2 deletions src/libphonenumber/data/PhoneNumberMetadata_AE.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5[0256]\\d{7}',
'NationalNumberPattern' => '5[024-6]\\d{7}',
'PossibleNumberPattern' => '\\d{9}',
'ExampleNumber' => '501234567',
),
Expand Down Expand Up @@ -119,7 +119,7 @@
),
1 =>
array (
'pattern' => '(5[0256])(\\d{3})(\\d{4})',
'pattern' => '(5\\d)(\\d{3})(\\d{4})',
'format' => '$1 $2 $3',
'leadingDigitsPatterns' =>
array (
Expand Down
10 changes: 9 additions & 1 deletion src/libphonenumber/data/PhoneNumberMetadata_BZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '[234578][02]\\d{5}',
'NationalNumberPattern' => '
(?:
[23458][02]\\d|
7(?:
[02]\\d|
32
)
)\\d{4}
',
'PossibleNumberPattern' => '\\d{7}',
'ExampleNumber' => '2221234',
),
Expand Down
2 changes: 2 additions & 0 deletions src/libphonenumber/data/PhoneNumberMetadata_GU.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
[079]7|
2[0167]|
3[45]|
47|
8[789]
)|
8(?:
Expand Down Expand Up @@ -93,6 +94,7 @@
[079]7|
2[0167]|
3[45]|
47|
8[789]
)|
8(?:
Expand Down
12 changes: 9 additions & 3 deletions src/libphonenumber/data/PhoneNumberMetadata_IN.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@
[01][089]
)|
3[17-9]\\d|
4[789]\\d|
4(?:
[07-9]\\d|
11
)|
9[01689]\\d
)|
4(?:
Expand Down Expand Up @@ -430,7 +433,7 @@
1[07-9]|
2[015-8]|
3[17-9]|
4[789]|
4[017-9]|
9[01689]
)|
4(?:
Expand Down Expand Up @@ -518,7 +521,10 @@
[01][089]
)|
3[17-9]|
4[789]|
4(?:
[07-9]|
11
)|
9[01689]
)|
4(?:
Expand Down
7 changes: 5 additions & 2 deletions src/libphonenumber/data/PhoneNumberMetadata_KR.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
)|
8(?:
00|
33|
55|
77|
99
Expand Down Expand Up @@ -326,7 +327,7 @@
1(?:
5[46-9]|
6[04678]|
8[0579]
8[03579]
)
',
1 => '
Expand All @@ -347,6 +348,7 @@
)|
8(?:
00|
33|
55|
77|
99
Expand Down Expand Up @@ -519,7 +521,7 @@
1(?:
5[46-9]|
6[04678]|
8[0579]
8[03579]
)
',
1 => '
Expand All @@ -540,6 +542,7 @@
)|
8(?:
00|
33|
55|
77|
99
Expand Down
23 changes: 13 additions & 10 deletions src/libphonenumber/data/ShortNumberMetadata_BR.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[1249]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[1249]\\d{2,5}',
'PossibleNumberPattern' => '\\d{3,6}',
),
'fixedLine' =>
array (
'NationalNumberPattern' => '[1249]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[1249]\\d{2,5}',
'PossibleNumberPattern' => '\\d{3,6}',
),
'mobile' =>
array (
'NationalNumberPattern' => '[1249]\\d{2,4}',
'PossibleNumberPattern' => '\\d{3,5}',
'NationalNumberPattern' => '[1249]\\d{2,5}',
'PossibleNumberPattern' => '\\d{3,6}',
),
'tollFree' =>
array (
Expand Down Expand Up @@ -95,14 +95,17 @@
81|
9[0-5789]
)|
27(?:
330|
878
2(?:
7(?:
330|
878
)|
85959
)|
40404|
911
',
'PossibleNumberPattern' => '\\d{3,5}',
'PossibleNumberPattern' => '\\d{3,6}',
'ExampleNumber' => '168',
),
'standardRate' =>
Expand Down
Loading

0 comments on commit 0aac9dd

Please sign in to comment.