From 570f80768a59515cc25279124bc7a645af5438c8 Mon Sep 17 00:00:00 2001 From: Moritz Moeller Date: Mon, 13 May 2024 15:07:10 +0200 Subject: [PATCH] Updated Google database to v8.13.36. --- Cargo.toml | 2 +- assets/PhoneNumberMetadata.xml | 89 +- assets/carrier/en/41.txt | 4 + assets/carrier/en/592.txt | 3 +- assets/carrier/en/65.txt | 3 + assets/carrier/en/677.txt | 2 + assets/carrier/en/992.txt | 1 + assets/carrier/en/995.txt | 13 +- assets/geocoding/en/1.txt | 4 + assets/geocoding/en/33.txt | 13856 ------------------------------- assets/geocoding/en/60.txt | 4004 --------- assets/geocoding/fr/33.txt | 13856 ------------------------------- assets/update.sh | 2 +- 13 files changed, 76 insertions(+), 31763 deletions(-) delete mode 100644 assets/geocoding/en/33.txt delete mode 100644 assets/geocoding/en/60.txt delete mode 100644 assets/geocoding/fr/33.txt diff --git a/Cargo.toml b/Cargo.toml index 32b0048..dae3d42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phonenumber" -version = "0.3.5+8.13.35" +version = "0.3.5+8.13.36" edition = "2021" rust-version = "1.58.0" diff --git a/assets/PhoneNumberMetadata.xml b/assets/PhoneNumberMetadata.xml index 3c04826..d5a40e8 100644 --- a/assets/PhoneNumberMetadata.xml +++ b/assets/PhoneNumberMetadata.xml @@ -1435,7 +1435,6 @@ 1123456789 - 3888[013-9]\d{5}| 3(?: 7(?: 1[15]| @@ -1576,7 +1575,8 @@ 0[45]| [17][2-6]| 3[4-6]| - [58][3-6] + 5[3-6]| + 8[3-68] ) ) )\d{6}| @@ -1714,17 +1714,14 @@ 7(?: 1[15]| 81 - )[46]| + )| 8(?: - (?: - 21| - 4[16]| - 69| - 9[12] - )[46]| - 88[013-9] + 21| + 4[16]| + 69| + 9[12] ) - )\d{5}| + )[46]\d{5}| 9(?: 2(?: 657| @@ -1852,7 +1849,8 @@ 0[45]| [17][2-6]| 3[4-6]| - [58][3-6] + 5[3-6]| + 8[3-68] ) ) ) @@ -5014,7 +5012,7 @@ 6(?: 2[1-35]| 5[149]| - 8[067] + 8[013467] ) )\d{4} @@ -5053,8 +5051,8 @@ 79(?: 1(?: - [01]\d| - 2[0-8] + [0-2]\d| + 3[0-3] )| 2[0-7]\d )\d{3} @@ -5865,7 +5863,12 @@ 781234567 - 7[35-9]\d{7} + + (?: + 6[89]| + 7[235-9] + )\d{7} + @@ -10345,12 +10348,12 @@ as this breaks parsing (it treats all leading zeros as national prefixes. --> - - + [2-7] $1 $2 $3 $4 @@ -10360,11 +10363,8 @@ $1 $2 $3 $4 - - - 11| - [67] - + + [167] $1 $2 $3 $4 @@ -11166,14 +11166,15 @@ 0\d| 11| 22| - 33| + 3[0-6]| 44| 5[05]| 77| 88| 9[09] )| - 111 + 111| + 77\d )| 1(?: 1(?: @@ -11182,14 +11183,16 @@ )| 4\d\d )| - (?: - 44| - 6[89] - )\d\d| + [23]555| + 4(?: + 4\d\d| + 555 + )| 5(?: [0157-9]\d\d| 200 )| + 6[89]\d\d| 7(?: [0147-9]\d\d| 5(?: @@ -11202,7 +11205,10 @@ [018]\d| 2[0-4] )| - 58[89]| + 5(?: + 55| + 8[89] + )| 8(?: 55| 88 @@ -12420,8 +12426,8 @@ 6\d\d| 7(?: [01]\d| - 2[1256]| - 3[12]| + 2[0-256]| + 3[0-2]| 49 ) )\d{4} @@ -21112,7 +21118,8 @@ )| 4(?: [013568]\d| - 2[4-8] + 2[4-8]| + 71 )| 54(?: [3-5]\d| @@ -25613,6 +25620,7 @@ + 6[89]| 7| 8[4-9]| 9(?: @@ -25625,10 +25633,8 @@ - (?: - [1-6]| - [7-9]\d\d - )\d{4} + [6-9]\d{6}| + [1-6]\d{4}