Skip to content

Commit

Permalink
Updated patterns to libphonenumber v8.13.23 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon committed Oct 16, 2023
1 parent 8c19ab1 commit 742f8cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
black --check phone_gen
- name: Test with pytest
run: |
pytest tests
pytest -m "not phonenumbers" tests
16 changes: 8 additions & 8 deletions phone_gen/patterns.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 742f8cf

Please sign in to comment.