From fdd48712b604042e2bcd348164fdab5bf721763d Mon Sep 17 00:00:00 2001 From: tolstislon Date: Mon, 16 Oct 2023 12:32:40 +0300 Subject: [PATCH] Updated patterns to libphonenumber v8.13.23 --- .github/workflows/python-package.yml | 2 +- phone_gen/patterns.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d49f0dd..309501a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -35,4 +35,4 @@ jobs: black --check phone_gen - name: Test with pytest run: | - pytest tests + pytest -m "not phonenumbers" tests diff --git a/phone_gen/patterns.py b/phone_gen/patterns.py index a67320b..2cf2ab9 100644 --- a/phone_gen/patterns.py +++ b/phone_gen/patterns.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- """ -Auto-generated file 2023-09-29 17:05:45 UTC -Resource: https://github.com/google/libphonenumber v8.13.22 +Auto-generated file 2023-10-16 09:29:18 UTC +Resource: https://github.com/google/libphonenumber v8.13.23 """ PATTERNS = { - "info": "libphonenumber v8.13.22", + "info": "libphonenumber v8.13.23", "data": { "AC": { "code": "247", @@ -176,7 +176,7 @@ "BW": { "code": "267", "pattern": "(((2(4[0-48])|(6[0-24])|(9[0578]))|(3(1[0-35-9])|(55)|([69][\\d])|(7[013])|(81))|(4(6[03])|(7[1267])|(9[0-5]))|(5(3[03489])|(4[0489])|(7[1-47])|(88)|(9[0-49]))|(6(2[1-35])|(5[149])|(8[067]))[\\d]{4}))", - "mobile": "(((321)|(7([1-7][\\d])|(8[0-4]))[\\d]{5}))", + "mobile": "(((321)|(7[1-8][\\d])[\\d]{5}))", }, "BY": { "code": "375", @@ -396,7 +396,7 @@ "GE": { "code": "995", "pattern": "(((3([256][\\d])|(4[124-9])|(7[0-4]))|(4(1[\\d])|(2[2-7])|(3[1-79])|(4[2-8])|(7[239])|(9[1-7]))[\\d]{6}))", - "mobile": "((5(((0555)|(1([17]77)|(555))[5-9])|(757(7[7-9])|(8[01]))[\\d])|(22252[0-4])[\\d][\\d])|((5(00(0[\\d])|(11)|(22)|(33)|(44)|(5[05])|(77)|(88)|(99))|(1(1(00)|([124][\\d])|(3[01]))|(4[\\d][\\d]))|((44)|(68)[\\d][\\d])|(5([0157-9][\\d][\\d])|(200))|(7([0147-9][\\d][\\d])|(5(00)|([57]5)))|(8(0([01][\\d])|(2[0-4]))|(58[89])|(8(55)|(88)))|(9(090)|([1-35-9][\\d][\\d])))|(790[\\d][\\d])[\\d]{4})|(5(0(070)|(505))|(1(0[01]0)|(1(07)|(33)|(51)))|(2(0[02]0)|(2[25]2))|(3(0[03]0)|(3[35]3))|((40[04])|(900)0)|(5222)[0-4][\\d]{3}))", + "mobile": "((5(((0555)|(1([17]77)|(555))[5-9])|(757(7[7-9])|(8[01]))[\\d])|(22252[0-4])[\\d][\\d])|((5(00(0[\\d])|(11)|(22)|(33)|(44)|(5[05])|(77)|(88)|(99))|(1(1(00)|([124][\\d])|(3[01]))|(4[\\d][\\d]))|((44)|(68)[\\d][\\d])|(5([0157-9][\\d][\\d])|(200))|(7([0147-9][\\d][\\d])|(5(00)|([57]5)))|(8(0([018][\\d])|(2[0-4]))|(58[89])|(8(55)|(88)))|(9(090)|([1-35-9][\\d][\\d])))|(790[\\d][\\d])[\\d]{4})|(5(0(070)|(505))|(1(0[01]0)|(1(07)|(33)|(51)))|(2(0[02]0)|(2[25]2))|(3(0[03]0)|(3[35]3))|((40[04])|(900)0)|(5222)[0-4][\\d]{3}))", }, "GF": { "code": "594", @@ -833,7 +833,7 @@ "NU": { "code": "683", "pattern": "(([47][\\d]{3}))", - "mobile": "((888[4-9][\\d]{3}))", + "mobile": "((888[1-9][\\d]{3}))", }, "NZ": { "code": "64", @@ -917,8 +917,8 @@ }, "RE": { "code": "262", - "pattern": "((26(2[\\d][\\d])|(3(0[\\d])|(1[0-5]))[\\d]{4}))", - "mobile": "((69(2[\\d][\\d])|(3([06][0-6])|(1[013])|(2[0-2])|(3[0-39])|(4[\\d])|(5[0-5])|(7[0-27])|(8[0-8])|(9[0-479]))[\\d]{4}))", + "pattern": "((26(2[\\d][\\d])|(3(0[\\d])|(1[0-6]))[\\d]{4}))", + "mobile": "((69(2[\\d][\\d])|(3([06][0-6])|(1[013])|(2[0-2])|(3[0-39])|(4[\\d])|(5[0-5])|(7[0-37])|(8[0-8])|(9[0-479]))[\\d]{4}))", }, "RO": { "code": "40",