From 9eeccc6a288356c172d0efc3b70dc27be7ec932d Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Fri, 26 Jan 2024 08:48:23 +0000 Subject: [PATCH] Upstream metadata changes from Google for v8.13.29 - Updated phone metadata for region code(s): AU, CC, CX, CZ, GF, MH, MQ, TH, YT --- METADATA-VERSION.txt | 2 +- src/data/PhoneNumberMetadata_AU.php | 2 +- src/data/PhoneNumberMetadata_CC.php | 2 +- src/data/PhoneNumberMetadata_CX.php | 2 +- src/data/PhoneNumberMetadata_CZ.php | 2 +- src/data/PhoneNumberMetadata_GF.php | 2 +- src/data/PhoneNumberMetadata_MH.php | 4 ++-- src/data/PhoneNumberMetadata_MQ.php | 2 +- src/data/PhoneNumberMetadata_TH.php | 2 +- src/data/PhoneNumberMetadata_YT.php | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/METADATA-VERSION.txt b/METADATA-VERSION.txt index 04f485d7..43780a29 100644 --- a/METADATA-VERSION.txt +++ b/METADATA-VERSION.txt @@ -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.28 +v8.13.29 diff --git a/src/data/PhoneNumberMetadata_AU.php b/src/data/PhoneNumberMetadata_AU.php index 93491064..6a0502ca 100644 --- a/src/data/PhoneNumberMetadata_AU.php +++ b/src/data/PhoneNumberMetadata_AU.php @@ -36,7 +36,7 @@ ], 'mobile' => [ - 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', + 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', 'ExampleNumber' => '412345678', 'PossibleLength' => [ diff --git a/src/data/PhoneNumberMetadata_CC.php b/src/data/PhoneNumberMetadata_CC.php index 1198db28..a8a87787 100644 --- a/src/data/PhoneNumberMetadata_CC.php +++ b/src/data/PhoneNumberMetadata_CC.php @@ -35,7 +35,7 @@ ], 'mobile' => [ - 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', + 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', 'ExampleNumber' => '412345678', 'PossibleLength' => [ diff --git a/src/data/PhoneNumberMetadata_CX.php b/src/data/PhoneNumberMetadata_CX.php index ddb8a48a..28878580 100644 --- a/src/data/PhoneNumberMetadata_CX.php +++ b/src/data/PhoneNumberMetadata_CX.php @@ -35,7 +35,7 @@ ], 'mobile' => [ - 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', + 'NationalNumberPattern' => '4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}', 'ExampleNumber' => '412345678', 'PossibleLength' => [ diff --git a/src/data/PhoneNumberMetadata_CZ.php b/src/data/PhoneNumberMetadata_CZ.php index 6b7cadb3..e19b48d2 100644 --- a/src/data/PhoneNumberMetadata_CZ.php +++ b/src/data/PhoneNumberMetadata_CZ.php @@ -29,7 +29,7 @@ ], 'mobile' => [ - 'NationalNumberPattern' => '(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}', + 'NationalNumberPattern' => '7060\\d{5}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}', 'ExampleNumber' => '601123456', 'PossibleLength' => [ diff --git a/src/data/PhoneNumberMetadata_GF.php b/src/data/PhoneNumberMetadata_GF.php index 601c7414..87f22a9b 100644 --- a/src/data/PhoneNumberMetadata_GF.php +++ b/src/data/PhoneNumberMetadata_GF.php @@ -17,7 +17,7 @@ ], 'fixedLine' => [ - 'NationalNumberPattern' => '594(?:[02-49]\\d|1[0-4]|5[6-9]|6[0-3]|80)\\d{4}', + 'NationalNumberPattern' => '594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}', 'ExampleNumber' => '594101234', ], 'mobile' => diff --git a/src/data/PhoneNumberMetadata_MH.php b/src/data/PhoneNumberMetadata_MH.php index b37a2aca..a8e7f999 100644 --- a/src/data/PhoneNumberMetadata_MH.php +++ b/src/data/PhoneNumberMetadata_MH.php @@ -17,12 +17,12 @@ ], 'fixedLine' => [ - 'NationalNumberPattern' => '(?:247|45[78]|528|625)\\d{4}', + 'NationalNumberPattern' => '(?:247|528|625)\\d{4}', 'ExampleNumber' => '2471234', ], 'mobile' => [ - 'NationalNumberPattern' => '(?:(?:23|54)5|329|45[356])\\d{4}', + 'NationalNumberPattern' => '(?:(?:23|54)5|329|45[35-8])\\d{4}', 'ExampleNumber' => '2351234', ], 'tollFree' => diff --git a/src/data/PhoneNumberMetadata_MQ.php b/src/data/PhoneNumberMetadata_MQ.php index 81679fe8..cff1f9b8 100644 --- a/src/data/PhoneNumberMetadata_MQ.php +++ b/src/data/PhoneNumberMetadata_MQ.php @@ -17,7 +17,7 @@ ], 'fixedLine' => [ - 'NationalNumberPattern' => '596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[04-9])\\d{4}', + 'NationalNumberPattern' => '596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])\\d{4}', 'ExampleNumber' => '596301234', ], 'mobile' => diff --git a/src/data/PhoneNumberMetadata_TH.php b/src/data/PhoneNumberMetadata_TH.php index a69350e2..710c9370 100644 --- a/src/data/PhoneNumberMetadata_TH.php +++ b/src/data/PhoneNumberMetadata_TH.php @@ -29,7 +29,7 @@ ], 'mobile' => [ - 'NationalNumberPattern' => '671[0-8]\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}', + 'NationalNumberPattern' => '67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}', 'ExampleNumber' => '812345678', 'PossibleLength' => [ diff --git a/src/data/PhoneNumberMetadata_YT.php b/src/data/PhoneNumberMetadata_YT.php index cd7b04d1..4013fdd5 100644 --- a/src/data/PhoneNumberMetadata_YT.php +++ b/src/data/PhoneNumberMetadata_YT.php @@ -17,7 +17,7 @@ ], 'fixedLine' => [ - 'NationalNumberPattern' => '269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}', + 'NationalNumberPattern' => '269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}', 'ExampleNumber' => '269601234', ], 'mobile' =>