Skip to content

Commit

Permalink
Generated files for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Jul 21, 2023
1 parent d9c6705 commit 4b25433
Show file tree
Hide file tree
Showing 41 changed files with 76 additions and 65 deletions.
10 changes: 5 additions & 5 deletions python/phonenumbers/carrierdata/data0.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,6 @@
'26269394':{'en': 'SFR'},
'26269397':{'en': 'SFR'},
'26269399':{'en': 'Orange'},
'2629769':{'en': 'Orange'},
'26371':{'en': 'Net*One'},
'26373':{'en': 'Telecel'},
'26377':{'en': 'Econet'},
Expand Down Expand Up @@ -3021,6 +3020,11 @@
'3712357':{'en': 'Bite Latvia'},
'3712366':{'en': 'Bite Latvia'},
'3712377':{'en': 'Bite Latvia'},
'3712380':{'en': 'LMT'},
'3712381':{'en': 'LMT'},
'3712382':{'en': 'LMT'},
'3712383':{'en': 'LMT'},
'3712384':{'en': 'LMT'},
'3712388':{'en': 'Bite Latvia'},
'3712399':{'en': 'Bite Latvia'},
'3712400':{'en': 'Bite Latvia'},
Expand Down Expand Up @@ -10015,8 +10019,4 @@
'553199649':{'en': 'Telemig Celular'},
'553199651':{'en': 'Telemig Celular'},
'553199652':{'en': 'Telemig Celular'},
'553199653':{'en': 'Telemig Celular'},
'553199654':{'en': 'Telemig Celular'},
'553199655':{'en': 'Telemig Celular'},
'553199656':{'en': 'Telemig Celular'},
}
8 changes: 4 additions & 4 deletions python/phonenumbers/carrierdata/data1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# limitations under the License.

data = {
'553199653':{'en': 'Telemig Celular'},
'553199654':{'en': 'Telemig Celular'},
'553199655':{'en': 'Telemig Celular'},
'553199656':{'en': 'Telemig Celular'},
'553199657':{'en': 'Telemig Celular'},
'553199658':{'en': 'Telemig Celular'},
'553199659':{'en': 'Telemig Celular'},
Expand Down Expand Up @@ -10015,8 +10019,4 @@
'5730281':{'en': 'Partners Telecom Colombia'},
'5730282':{'en': 'Partners Telecom Colombia'},
'5730283':{'en': 'Partners Telecom Colombia'},
'5730284':{'en': 'Partners Telecom Colombia'},
'5730285':{'en': 'Partners Telecom Colombia'},
'5730286':{'en': 'Partners Telecom Colombia'},
'57303':{'en': 'Uff!'},
}
23 changes: 15 additions & 8 deletions python/phonenumbers/carrierdata/data2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# limitations under the License.

data = {
'5730284':{'en': 'Partners Telecom Colombia'},
'5730285':{'en': 'Partners Telecom Colombia'},
'5730286':{'en': 'Partners Telecom Colombia'},
'57303':{'en': 'Uff!'},
'5730410':{'en': 'Tigo'},
'5730411':{'en': 'Tigo'},
'5730412':{'en': 'Tigo'},
Expand Down Expand Up @@ -3512,12 +3516,13 @@
'817031':{'en': 'Softbank'},
'817032':{'en': 'Softbank'},
'817033':{'en': 'Softbank'},
'817034':{'en': 'KDDI'},
'8170340':{'en': 'Softbank'},
'8170341':{'en': 'Softbank'},
'817035':{'en': 'KDDI'},
'817036':{'en': 'KDDI'},
'817037':{'en': 'KDDI'},
'817038':{'en': 'KDDI'},
'817038':{'en': 'Okinawa Cellular'},
'817039':{'en': 'NTT Docomo'},
'81704':{'en': 'NTT Docomo'},
'817045':{'en': 'KDDI'},
Expand Down Expand Up @@ -3598,7 +3603,7 @@
'81803':{'en': 'Softbank'},
'81804':{'en': 'Softbank'},
'81805':{'en': 'KDDI'},
'81806':{'en': 'KDDI'},
'81806':{'en': 'Okinawa Cellular'},
'81807':{'en': 'Softbank'},
'8180769':{'en': 'NTT Docomo'},
'818077':{'en': 'NTT Docomo'},
Expand All @@ -3615,7 +3620,7 @@
'818095':{'en': 'NTT Docomo'},
'818096':{'en': 'Softbank'},
'818097':{'en': 'Softbank'},
'818098':{'en': 'KDDI'},
'818098':{'en': 'Okinawa Cellular'},
'818099':{'en': 'NTT Docomo'},
'819010':{'en': 'NTT Docomo'},
'819011':{'en': 'KDDI'},
Expand All @@ -3633,6 +3638,7 @@
'8190188':{'en': 'NTT Docomo'},
'8190189':{'en': 'NTT Docomo'},
'819019':{'en': 'KDDI'},
'8190194':{'en': 'Okinawa Cellular'},
'8190198':{'en': 'NTT Docomo'},
'8190199':{'en': 'NTT Docomo'},
'81902':{'en': 'NTT Docomo'},
Expand All @@ -3659,7 +3665,7 @@
'8190349':{'en': 'NTT Docomo'},
'819035':{'en': 'KDDI'},
'819036':{'en': 'KDDI'},
'819037':{'en': 'KDDI'},
'819037':{'en': 'Okinawa Cellular'},
'819038':{'en': 'KDDI'},
'819039':{'en': 'Softbank'},
'8190398':{'en': 'KDDI'},
Expand All @@ -3676,7 +3682,7 @@
'8190427':{'en': 'Softbank'},
'8190428':{'en': 'Softbank'},
'8190429':{'en': 'Softbank'},
'819044':{'en': 'KDDI'},
'819044':{'en': 'Okinawa Cellular'},
'81905':{'en': 'NTT Docomo'},
'819060':{'en': 'Softbank'},
'819061':{'en': 'KDDI'},
Expand All @@ -3694,7 +3700,7 @@
'819068':{'en': 'NTT Docomo'},
'8190683':{'en': 'KDDI'},
'8190685':{'en': 'KDDI'},
'8190686':{'en': 'KDDI'},
'8190686':{'en': 'Okinawa Cellular'},
'8190687':{'en': 'KDDI'},
'819069':{'en': 'NTT Docomo'},
'81907':{'en': 'NTT Docomo'},
Expand All @@ -3710,7 +3716,7 @@
'8190808':{'en': 'KDDI'},
'8190809':{'en': 'Softbank'},
'819081':{'en': 'KDDI'},
'819082':{'en': 'KDDI'},
'819082':{'en': 'Okinawa Cellular'},
'819083':{'en': 'KDDI'},
'8190834':{'en': 'Softbank'},
'8190835':{'en': 'Softbank'},
Expand Down Expand Up @@ -3740,9 +3746,10 @@
'8190965':{'en': 'Softbank'},
'8190968':{'en': 'Softbank'},
'8190969':{'en': 'Softbank'},
'819097':{'en': 'KDDI'},
'819097':{'en': 'Okinawa Cellular'},
'819098':{'en': 'Softbank'},
'819099':{'en': 'Softbank'},
'82100':{'en': 'LG U+', 'ko': u('\ub370\uc774\ucf64')},
'821020':{'en': 'SKTellink', 'ko': u('SK \ud154\ub9c1\ud06c')},
'821021':{'en': 'SKTellink', 'ko': u('SK \ud154\ub9c1\ud06c')},
'821022':{'en': 'LG U+', 'ko': u('\ub370\uc774\ucf64')},
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_BL.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

PHONE_METADATA_BL = PhoneMetadata(id='BL', country_code=590, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='590\\d{6}|(?:69|80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:2[7-9]|5[12]|87)\\d{4}', example_number='590271234', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}', example_number='590271234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}', example_number='690001234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-2])\\d{4}', example_number='976012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-5])\\d{4}', example_number='976012345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
mobile_number_portable_region=True)
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_CU.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHONE_METADATA_CU = PhoneMetadata(id='CU', country_code=53, international_prefix='119',
general_desc=PhoneNumberDesc(national_number_pattern='[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}', possible_length=(6, 7, 8, 10), possible_length_local_only=(4, 5)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:3[23]|48)\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}', example_number='71234567', possible_length=(6, 7, 8, 10), possible_length_local_only=(4, 5)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}', example_number='71234567', possible_length=(6, 7, 8, 10), possible_length_local_only=(4, 5)),
mobile=PhoneNumberDesc(national_number_pattern='5\\d{7}', example_number='51234567', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{7}', example_number='8001234567', possible_length=(10,)),
shared_cost=PhoneNumberDesc(national_number_pattern='807\\d{7}', example_number='8071234567', possible_length=(10,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_FR.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHONE_METADATA_FR = PhoneMetadata(id='FR', country_code=33, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[1-9]\\d{8}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:[1-35]\\d|4[1-9])\\d{7}', example_number='123456789', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='59[1-9]\\d{6}|(?:[1-3]\\d|4[1-9]|5[0-8])\\d{7}', example_number='123456789', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}', example_number='612345678', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='801234567', possible_length=(9,)),
premium_rate=PhoneNumberDesc(national_number_pattern='836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}', example_number='891123456', possible_length=(9,)),
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_GF.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

PHONE_METADATA_GF = PhoneMetadata(id='GF', country_code=594, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[56]94\\d{6}|(?:80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='594(?:[0239]\\d|[16][0-3]|4[03-9]|5[6-9]|80)\\d{4}', example_number='594101234', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='594(?:[02-49]\\d|[16][0-3]|5[6-9]|80)\\d{4}', example_number='594101234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='694(?:[0-249]\\d|3[0-8])\\d{4}', example_number='694201234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:396|76\\d)\\d|476[0-2])\\d{4}', example_number='976012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}', example_number='976012345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
number_format=[NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[56]|9[47]'], national_prefix_formatting_rule='0\\1'),
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_GP.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

PHONE_METADATA_GP = PhoneMetadata(id='GP', country_code=590, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='590\\d{6}|(?:69|80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}', example_number='590201234', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}', example_number='590201234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}', example_number='690001234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-2])\\d{4}', example_number='976012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-5])\\d{4}', example_number='976012345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
number_format=[NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[569]'], national_prefix_formatting_rule='0\\1'),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_HK.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHONE_METADATA_HK = PhoneMetadata(id='HK', country_code=852, international_prefix='00(?:30|5[09]|[126-9]?)',
general_desc=PhoneNumberDesc(national_number_pattern='8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}', possible_length=(5, 6, 7, 8, 9, 11)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-8]|1[2-9]))\\d{4}', example_number='21234567', possible_length=(8,)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:[45][0-8]|6[01]|9\\d))|58(?:0[1-9]|1[2-9]))\\d{4}', example_number='21234567', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:4(?:44[5-9]|6(?:0[0-7]|1[0-6]|4[0-57-9]|6[0-4]|7[0-8]))|573[0-6]|6(?:26[013-8]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|9(?:29[013-9]|59[0-4]))\\d{4}|(?:4(?:4[01]|6[2358])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}', example_number='51234567', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{6}', example_number='800123456', possible_length=(9,)),
premium_rate=PhoneNumberDesc(national_number_pattern='900(?:[0-24-9]\\d{7}|3\\d{1,4})', example_number='90012345678', possible_length=(5, 6, 7, 8, 11)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_KR.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_KR = PhoneMetadata(id='KR', country_code=82, international_prefix='00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))',
general_desc=PhoneNumberDesc(national_number_pattern='00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}', possible_length=(5, 6, 8, 9, 10, 11, 12, 13, 14), possible_length_local_only=(3, 4, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}', example_number='22123456', possible_length=(5, 6, 8, 9, 10), possible_length_local_only=(3, 4, 7)),
mobile=PhoneNumberDesc(national_number_pattern='1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[1-46-9]|[16-9]\\d|2[013-9])\\d{6,7}', example_number='1020000000', possible_length=(9, 10)),
mobile=PhoneNumberDesc(national_number_pattern='1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}', example_number='1020000000', possible_length=(9, 10)),
toll_free=PhoneNumberDesc(national_number_pattern='00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|80)\\d{7}', example_number='801234567', possible_length=(9, 11, 12, 13, 14)),
premium_rate=PhoneNumberDesc(national_number_pattern='60[2-9]\\d{6}', example_number='602345678', possible_length=(9,)),
personal_number=PhoneNumberDesc(national_number_pattern='50\\d{8,9}', example_number='5012345678', possible_length=(10, 11)),
Expand Down
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_MF.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

PHONE_METADATA_MF = PhoneMetadata(id='MF', country_code=590, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='590\\d{6}|(?:69|80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}', example_number='590271234', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}', example_number='590271234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}', example_number='690001234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-2])\\d{4}', example_number='976012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:(?:395|76[018])\\d|475[0-5])\\d{4}', example_number='976012345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
mobile_number_portable_region=True)
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_MQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

PHONE_METADATA_MQ = PhoneMetadata(id='MQ', country_code=596, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='596\\d{6}|(?:69|80|9\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='596(?:[03-7]\\d|10|2[7-9]|8[09]|9[4-9])\\d{4}', example_number='596301234', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='596(?:[03-7]\\d|10|2[7-9]|8[0-39]|9[4-9])\\d{4}', example_number='596301234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}', example_number='696201234', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80[0-5]\\d{6}', example_number='800012345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:397[01]|477[0-2]|76(?:6\\d|7[0-367]))\\d{4}', example_number='976612345', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='9(?:397[0-2]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}', example_number='976612345', possible_length=(9,)),
national_prefix='0',
national_prefix_for_parsing='0',
number_format=[NumberFormat(pattern='(\\d{3})(\\d{2})(\\d{2})(\\d{2})', format='\\1 \\2 \\3 \\4', leading_digits_pattern=['[569]'], national_prefix_formatting_rule='0\\1'),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_MU.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PHONE_METADATA_MU = PhoneMetadata(id='MU', country_code=230, international_prefix='0(?:0|[24-7]0|3[03])',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}', possible_length=(7, 8, 10)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-7])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}', example_number='54480123', possible_length=(7, 8)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8])|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}', example_number='54480123', possible_length=(7, 8)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-2]|3[013]))\\d{5}', example_number='52512345', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='802\\d{7}|80[0-2]\\d{4}', example_number='8001234', possible_length=(7, 10)),
premium_rate=PhoneNumberDesc(national_number_pattern='30\\d{5}', example_number='3012345', possible_length=(7,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_PK.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_PK = PhoneMetadata(id='PK', country_code=92, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}', possible_length=(8, 9, 10, 11, 12), possible_length_local_only=(5, 6, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}', example_number='2123456789', possible_length=(9, 10), possible_length_local_only=(5, 6, 7, 8)),
mobile=PhoneNumberDesc(national_number_pattern='3(?:[0-24]\\d|3[0-7]|55|64)\\d{7}', example_number='3012345678', possible_length=(10,)),
mobile=PhoneNumberDesc(national_number_pattern='3(?:[0-24]\\d|3[0-79]|55|64)\\d{7}', example_number='3012345678', possible_length=(10,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{5}(?:\\d{3})?', example_number='80012345', possible_length=(8, 11)),
premium_rate=PhoneNumberDesc(national_number_pattern='900\\d{5}', example_number='90012345', possible_length=(8,)),
personal_number=PhoneNumberDesc(national_number_pattern='122\\d{6}', example_number='122044444', possible_length=(9,)),
Expand Down
Loading

0 comments on commit 4b25433

Please sign in to comment.