Skip to content

Commit 54630ee

Browse files
authored
Update zip_codes.xml
Updates to restrict postcodes to GY, inline with suggestion from contributor "Den4ik".
1 parent 4265688 commit 54630ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Directory/etc/zip_codes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@
258258
</zip>
259259
<zip countryCode="GG">
260260
<codes>
261-
<code id="pattern_1" active="true" example="AB1 2CD">^[a-zA-Z]{2}[0-9]{1}\s[0-9]{1}[a-zA-Z]{2}$</code>
262-
<code id="pattern_2" active="true" example="AB12 3CD">^[a-zA-Z]{2}[0-9]{2}\s?[0-9]{1}[a-zA-Z]{2}$</code>
261+
<code id="pattern_1" active="true" example="GY1 2AB">^GY[0-9]{1}\s[0-9]{1}[a-zA-Z]{2}$</code>
262+
<code id="pattern_2" active="true" example="GY10 1PB">^GY[0-9]{2}\s?[0-9]{1}[a-zA-Z]{2}$</code>
263263
</codes>
264264
</zip>
265265
<zip countryCode="GH">

0 commit comments

Comments
 (0)