Skip to content

Commit 81364db

Browse files
Update the validation patterns
1 parent 940177d commit 81364db

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

resources/metadata.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11275,7 +11275,8 @@
1127511275
<!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
1127611276
<!-- http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB -->
1127711277
<territory id="GB" mainCountryForCode="true" countryCode="44" internationalPrefix="00"
11278-
nationalPrefix="0" preferredExtnPrefix=" x" mobileNumberPortableRegion="true">
11278+
nationalPrefix="0" nationalPrefixForParsing="0|180020" preferredExtnPrefix=" x"
11279+
mobileNumberPortableRegion="true">
1127911280
<availableFormats>
1128011281
<!-- Special case: 800 1111 (UK Child Line). -->
1128111282
<numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
@@ -12213,7 +12214,8 @@
1221312214
<!-- http://static.ofcom.org.uk/static/numbering/ -->
1221412215
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
1221512216
<territory id="GG" countryCode="44" internationalPrefix="00" nationalPrefix="0"
12216-
nationalPrefixForParsing="([25-9]\d{5})$|0" nationalPrefixTransformRule="1481$1">
12217+
nationalPrefixForParsing="([25-9]\d{5})$|0|180020"
12218+
nationalPrefixTransformRule="1481$1">
1221712219
<generalDesc>
1221812220
<nationalNumberPattern>
1221912221
(?:
@@ -12565,10 +12567,11 @@
1256512567
48
1256612568
)
1256712569
)|
12568-
8\d{3}
12570+
8[0-589]\d\d
1256912571
)\d{3}
1257012572
</nationalNumberPattern>
1257112573
</fixedLine>
12574+
<!-- Prefix 8[67] is moved here based on the user report. -->
1257212575
<mobile>
1257312576
<possibleLengths national="7"/>
1257412577
<exampleNumber>3012345</exampleNumber>
@@ -12577,7 +12580,8 @@
1257712580
(?:
1257812581
[23679]\d|
1257912582
4[015]|
12580-
5[0-489]
12583+
5[0-489]|
12584+
8[67]
1258112585
)\d{5}
1258212586
</nationalNumberPattern>
1258312587
</mobile>
@@ -13291,7 +13295,7 @@
1329113295
<exampleNumber>6091234</exampleNumber>
1329213296
<nationalNumberPattern>
1329313297
(?:
13294-
510|
13298+
51[01]|
1329513299
6\d\d|
1329613300
7(?:
1329713301
[0-5]\d|
@@ -14565,7 +14569,8 @@
1456514569
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
1456614570
<territory id="IM" countryCode="44" leadingDigits="74576|(?:16|7[56])24"
1456714571
internationalPrefix="00" nationalPrefix="0"
14568-
nationalPrefixForParsing="([25-8]\d{5})$|0" nationalPrefixTransformRule="1624$1">
14572+
nationalPrefixForParsing="([25-8]\d{5})$|0|180020"
14573+
nationalPrefixTransformRule="1624$1">
1456914574
<generalDesc>
1457014575
<nationalNumberPattern>
1457114576
1624\d{6}|
@@ -16472,7 +16477,8 @@
1647216477
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom -->
1647316478
<!-- http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036 -->
1647416479
<territory id="JE" countryCode="44" internationalPrefix="00" nationalPrefix="0"
16475-
nationalPrefixForParsing="([0-24-8]\d{5})$|0" nationalPrefixTransformRule="1534$1">
16480+
nationalPrefixForParsing="([0-24-8]\d{5})$|0|180020"
16481+
nationalPrefixTransformRule="1534$1">
1647616482
<generalDesc>
1647716483
<nationalNumberPattern>
1647816484
1534\d{6}|

0 commit comments

Comments
 (0)