Skip to content

Commit bef0833

Browse files
Update the validation patterns (GH-96)
2 parents 26193fc + 2533c6a commit bef0833

File tree

1 file changed

+15
-29
lines changed

1 file changed

+15
-29
lines changed

resources/metadata.xml

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2582,15 +2582,14 @@
25822582
<nationalNumberPattern>
25832583
4(?:
25842584
79[01]|
2585-
83[0-389]|
2586-
94[0-478]
2585+
83[0-36-9]
25872586
)\d{5}|
25882587
4(?:
25892588
[0-36]\d|
25902589
4[047-9]|
25912590
[58][0-24-9]|
25922591
7[02-8]|
2593-
9[0-37-9]
2592+
9[0-47-9]
25942593
)\d{6}
25952594
</nationalNumberPattern>
25962595
</mobile>
@@ -5697,15 +5696,14 @@
56975696
<nationalNumberPattern>
56985697
4(?:
56995698
79[01]|
5700-
83[0-389]|
5701-
94[0-478]
5699+
83[0-36-9]
57025700
)\d{5}|
57035701
4(?:
57045702
[0-36]\d|
57055703
4[047-9]|
57065704
[58][0-24-9]|
57075705
7[02-8]|
5708-
9[0-37-9]
5706+
9[0-47-9]
57095707
)\d{6}
57105708
</nationalNumberPattern>
57115709
</mobile>
@@ -8712,15 +8710,14 @@
87128710
<nationalNumberPattern>
87138711
4(?:
87148712
79[01]|
8715-
83[0-389]|
8716-
94[0-478]
8713+
83[0-36-9]
87178714
)\d{5}|
87188715
4(?:
87198716
[0-36]\d|
87208717
4[047-9]|
87218718
[58][0-24-9]|
87228719
7[02-8]|
8723-
9[0-37-9]
8720+
9[0-47-9]
87248721
)\d{6}
87258722
</nationalNumberPattern>
87268723
</mobile>
@@ -11287,8 +11284,7 @@
1128711284
<!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of
1128811285
validation, although the formatting rules are shared. Also numbers are fine-grained where
1128911286
needed in order to disambiguate between the 4 regions. -->
11290-
<!-- http://static.ofcom.org.uk/static/numbering/ -->
11291-
<!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/ -->
11287+
<!-- https://www.ofcom.org.uk/phones-and-broadband/phone-numbers/numbering-data -->
1129211288
<!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
1129311289
<!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB -->
1129411290
<territory id="GB" mainCountryForCode="true" countryCode="44" internationalPrefix="00"
@@ -11432,7 +11428,7 @@
1143211428
1(?:
1143311429
3(?:
1143411430
[0-58]\d\d|
11435-
73[0-35]
11431+
73[0-5]
1143611432
)|
1143711433
4(?:
1143811434
(?:
@@ -11448,7 +11444,7 @@
1144811444
)\d|
1144911445
6(?:
1145011446
[0-4]\d|
11451-
50
11447+
5[01]
1145211448
)
1145311449
)\d
1145411450
)|
@@ -19254,7 +19250,7 @@
1925419250
[01]\d|
1925519251
6[013-9]|
1925619252
8[7-9]|
19257-
9[1-3]
19253+
9[0-3]
1925819254
)
1925919255
)\d{5}
1926019256
</nationalNumberPattern>
@@ -20666,7 +20662,7 @@
2066620662
<mobile>
2066720663
<possibleLengths national="9"/>
2066820664
<exampleNumber>321234567</exampleNumber>
20669-
<nationalNumberPattern>3[2-47-9]\d{7}</nationalNumberPattern>
20665+
<nationalNumberPattern>3[2-46-9]\d{7}</nationalNumberPattern>
2067020666
</mobile>
2067120667
<!-- Putting VSAT numbers here. -->
2067220668
<voip>
@@ -27565,20 +27561,10 @@
2756527561
<exampleNumber>701234567</exampleNumber>
2756627562
<nationalNumberPattern>
2756727563
7(?:
27568-
(?:
27569-
[06-8]\d|
27570-
[19]0|
27571-
21
27572-
)\d|
27573-
5(?:
27574-
0[01]|
27575-
[19]0|
27576-
2[25]|
27577-
3[356]|
27578-
[4-7]\d|
27579-
8[35]
27580-
)
27581-
)\d{5}
27564+
[05-8]\d|
27565+
[19]0|
27566+
21
27567+
)\d{6}
2758227568
</nationalNumberPattern>
2758327569
</mobile>
2758427570
<tollFree>

0 commit comments

Comments
 (0)