Skip to content

Commit

Permalink
Merge metadata changes from upstream 8.13.38
Browse files Browse the repository at this point in the history
Includes changes in resources/ up to and including
upstream commit 8c862eca9194:
  "[maven-release-plugin] prepare release v8.13.38"
  • Loading branch information
daviddrysdale committed Jun 4, 2024
1 parent a0ccc0a commit 0949de6
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 185 deletions.
138 changes: 16 additions & 122 deletions resources/PhoneNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@
<mobile>
<possibleLengths national="9"/>
<exampleNumber>923123456</exampleNumber>
<nationalNumberPattern>9[1-59]\d{7}</nationalNumberPattern>
<nationalNumberPattern>9[1-579]\d{7}</nationalNumberPattern>
</mobile>
</territory>

Expand Down Expand Up @@ -10560,7 +10560,7 @@
1(?:
3(?:
[0-58]\d\d|
73[0235]
73[0-35]
)|
4(?:
(?:
Expand Down Expand Up @@ -10594,7 +10594,7 @@
)\d|
1(?:
[0-7]\d|
8[0-2]
8[0-3]
)
)|
(?:
Expand Down Expand Up @@ -12421,7 +12421,8 @@
7(?:
[013]\d|
2[0-25-8]|
4[0-29]
4[0-29]|
5[1-9]
)
)\d{4}
</nationalNumberPattern>
Expand Down Expand Up @@ -12511,7 +12512,7 @@
8(?:
4[0-8]|
[59]\d|
6[01]
6[0-2]
)
)|
58(?:
Expand Down Expand Up @@ -21322,79 +21323,34 @@
<!-- http://en.wikipedia.org/wiki/%2B52 -->
<!-- http://en.wikipedia.org/wiki/Premium-rate_telephone_number#Mexico -->
<!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
<!-- When a number starts with 01 or 02, we remove the prefixes; when a number starts with 044
or 045 followed by 10 digits, we replace the prefixes with 1. This way all the mobile
numbers, regardless of whether they are written in international format (leading 1) or
national format (leading 044/045), will be parsed into the same form. -->
<!-- Dialling tokens 01, 02, 044, 045 and 1 are removed as they are no longer valid since
August 2019. -->
<territory id="MX" countryCode="52" preferredInternationalPrefix="00"
internationalPrefix="0[09]" nationalPrefix="01"
nationalPrefixForParsing="0(?:[12]|4[45])|1" mobileNumberPortableRegion="true">
internationalPrefix="0[09]" mobileNumberPortableRegion="true">
<availableFormats>
<!-- 5-digit shortcodes (very rare). -->
<numberFormat pattern="(\d{5})">
<leadingDigits>53</leadingDigits>
<format>$1</format>
<intlFormat>NA</intlFormat>
</numberFormat>
<!-- Fixed line (2-digit area codes). -->
<numberFormat pattern="(\d{2})(\d{4})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
<!-- Fixed line (2-digit area codes) and Mobile. -->
<numberFormat pattern="(\d{2})(\d{4})(\d{4})">
<leadingDigits>
33|
5[56]|
81
</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<!-- Fixed line (3-digit area codes) and other non-mobile numbers. -->
<numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
<!-- Fixed line (3-digit area codes), Mobile and all other non geographic numbers. -->
<numberFormat pattern="(\d{3})(\d{3})(\d{4})">
<leadingDigits>[2-9]</leadingDigits>
<format>$1 $2 $3</format>
</numberFormat>
<!-- Mobile version of fixed line 2-digit area codes and removing former mobile token 1. -->
<numberFormat pattern="(\d)(\d{2})(\d{4})(\d{4})"
nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>
1(?:
33|
5[56]|
81
)
</leadingDigits>
<format>$2 $3 $4</format>
</numberFormat>
<!-- Mobile version of fixed line 3-digit area codes and removing former mobile token 1. -->
<numberFormat pattern="(\d)(\d{3})(\d{3})(\d{4})"
nationalPrefixOptionalWhenFormatting="true">
<leadingDigits>1</leadingDigits>
<format>$2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>
1(?:
(?:
22|
44|
7[27]|
87|
9[69]
)[1-9]|
65[0-689]
)\d{7}|
(?:
1(?:
[01]\d|
2[13-9]|
[35][1-9]|
4[0-35-9]|
6[0-46-9]|
7[013-689]|
8[1-69]|
9[1-578]
)|
[2-9]\d
)\d{8}
</nationalNumberPattern>
<nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
</generalDesc>
<!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
<!-- Also covering fixed satellite service numbers (prefixes: 200 and 201). -->
Expand Down Expand Up @@ -21473,73 +21429,11 @@
<!-- Fixed satellite service numbers are not included here, although many other prefixes from
the fixedLine pattern are. -->
<mobile>
<possibleLengths national="10,11" localOnly="7,8"/>
<exampleNumber>12221234567</exampleNumber>
<possibleLengths national="10" localOnly="7,8"/>
<exampleNumber>2221234567</exampleNumber>
<nationalNumberPattern>
657[12]\d{6}|
(?:
1(?:
2(?:
2[1-9]|
3[1-35-8]|
4[13-9]|
7[1-689]|
8[1-578]|
9[467]
)|
3(?:
1[1-79]|
[2458][1-9]|
3\d|
7[1-8]|
9[1-5]
)|
4(?:
1[1-57-9]|
[24-7][1-9]|
3[1-8]|
8[1-35-9]|
9[2-689]
)|
5(?:
[56]\d|
88|
9[1-79]
)|
6(?:
1[2-68]|
[2-4][1-9]|
5[1-3689]|
6[1-57-9]|
7[1-7]|
8[67]|
9[4-8]
)|
7(?:
[1-467][1-9]|
5[13-9]|
8[1-69]|
9[17]
)|
8(?:
1\d|
2[13-689]|
3[1-6]|
4[124-6]|
6[1246-9]|
7[1-378]|
9[12479]
)|
9(?:
1[346-9]|
2[1-4]|
3[2-46-8]|
5[1348]|
[69][1-9]|
7[12]|
8[1-8]
)
)|
2(?:
2\d|
3[1-35-8]|
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/244.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
24493|UNITEL
24494|UNITEL
24495|Africell
24497|UNITEL
24499|Movicel
10 changes: 8 additions & 2 deletions resources/carrier/en/40.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
407019|Lycamobile
40702|Lycamobile
40705|Iristel
40711|Telekom
40711|Orange
40712|Orange
40713|Orange
4072|Vodafone
Expand All @@ -42,5 +42,11 @@
40775|Digi Mobil
40776|Digi Mobil
40777|Digi Mobil
4078|Telekom
40780|Telekom
40783|Orange
40784|Telekom
40785|Telekom
40786|Telekom
40787|Orange
40788|Telekom
4079|Vodafone
8 changes: 4 additions & 4 deletions resources/carrier/en/44.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
4474061|Cheers
4474062|Cheers
4474065|Telecom2
4474066|24 Seven
4474066|Sure
4474067|TGL
4474068|08Direct
4474069|CardBoardFish
Expand Down Expand Up @@ -674,7 +674,7 @@
4478928|O2
4478929|O2
4478930|Magrathea
4478931|24 Seven
4478931|Sure
4478932|O2
4478933|Yim Siam
4478934|O2
Expand Down Expand Up @@ -702,9 +702,9 @@
447910|EE
4479110|Marathon Telecom
4479111|JT
4479112|24 Seven
4479112|Sure
4479117|JT
4479118|24 Seven
4479118|Sure
447912|O2
447913|EE
447914|EE
Expand Down
17 changes: 17 additions & 0 deletions resources/carrier/en/46.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright (C) 2019 The Libphonenumber Authors

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

# http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

46700|Tele2 Sverige
467010|SPINBOX AB
467011|Telenor Sverige
Expand Down Expand Up @@ -157,6 +171,8 @@
46720902|Telavox AB
46720908|Telavox AB
4672092|Telavox AB
46720995|Telavox AB
46720996|Telavox AB
46720999|MOBIWEB LTD
467210|SVENSK KONSUMENTMOBI
467211|SVENSK KONSUMENTMOBI
Expand Down Expand Up @@ -269,6 +285,7 @@
46726428|Global Telefoni Sve
46726429|Global Telefoni Sve
4672644|Telenor Sverige
4672648|Telavox AB
467265|TeliaSonera
4672660|Telenor Sverige
4672666|Telenor Sverige
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/592.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@
592741|E-Networks
592742|E-Networks
592749|GTT
59275|GTT
19 changes: 8 additions & 11 deletions resources/carrier/en/691.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

69132|FSMTC
69133|FSMTC
69135|FSMTC
69137|FSMTC
6918|FSMTC
691920|FSMTC
691921|FSMTC
691922|FSMTC
691923|FSMTC
691924|FSMTC
691925|FSMTC
691926|FSMTC
691930|FSMTC
691931|FSMTC
691932|FSMTC
691933|FSMTC
69192|FSMTC
69193|FSMTC
69194|FSMTC
69195|FSMTC
69196|BOOM!
69197|FSMTC
Loading

0 comments on commit 0949de6

Please sign in to comment.