Skip to content

Commit 1472740

Browse files
authored
Update zip_codes.xml
Changed regex for zipcodes from Brazil. All zipcode must have 8 positions, with or without dash
1 parent 1dc62a7 commit 1472740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</zip>
6565
<zip countryCode="BR">
6666
<codes>
67-
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code>
67+
<code id="pattern_1" active="true" example="12345678">^[0-9]{8}$</code>
6868
<code id="pattern_2" active="true" example="12345-678">^[0-9]{5}\-[0-9]{3}$</code>
6969
</codes>
7070
</zip>

0 commit comments

Comments
 (0)