Skip to content

Commit 0982f3e

Browse files
committed
Merge branch 'dev' into python3
2 parents c80b67c + 9670d6e commit 0982f3e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

python/phonenumbers/data/region_AU.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
PHONE_METADATA_AU = PhoneMetadata(id='AU', country_code=61, international_prefix='(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]',
55
general_desc=PhoneNumberDesc(national_number_pattern='[1-578]\\d{5,9}', possible_number_pattern='\\d{6,10}'),
66
fixed_line=PhoneNumberDesc(national_number_pattern='[237]\\d{8}|8(?:[68]\\d{3}|7[0-6]\\d{2}|9(?:[02-9]\\d{2}|1(?:[0-57-9]\\d|6[0135-9])))\\d{4}', possible_number_pattern='\\d{8,9}', example_number='212345678'),
7-
mobile=PhoneNumberDesc(national_number_pattern='14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-37-9]|6[6-9]|7[07-9]|8[7-9])\\d{6}', possible_number_pattern='\\d{9}', example_number='412345678'),
7+
mobile=PhoneNumberDesc(national_number_pattern='14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[46-9]|5[0-37-9]|6[6-9]|7[07-9]|8[7-9]|9[89])\\d{6}', possible_number_pattern='\\d{9}', example_number='412345678'),
88
toll_free=PhoneNumberDesc(national_number_pattern='180(?:0\\d{3}|2)\\d{3}', possible_number_pattern='\\d{7,10}', example_number='1800123456'),
99
premium_rate=PhoneNumberDesc(national_number_pattern='19(?:0[0126]\\d{6}|[13-5]\\d{3}|[679]\\d{5})', possible_number_pattern='\\d{6,10}', example_number='1900123456'),
1010
shared_cost=PhoneNumberDesc(national_number_pattern='13(?:00\\d{2})?\\d{4}', possible_number_pattern='\\d{6,10}', example_number='1300123456'),

resources/PhoneNumberMetaData.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,11 +1612,12 @@
16121612
4(?:
16131613
[0-2]\d|
16141614
3[0-57-9]|
1615-
4[47-9]|
1615+
4[46-9]|
16161616
5[0-37-9]|
16171617
6[6-9]|
16181618
7[07-9]|
1619-
8[7-9]
1619+
8[7-9]|
1620+
9[89]
16201621
)\d{6}
16211622
</nationalNumberPattern>
16221623
<possibleNumberPattern>\d{9}</possibleNumberPattern>

0 commit comments

Comments
 (0)