mirror of
https://github.com/Respect/Validation.git
synced 2024-06-28 02:00:06 +02:00
Czech and slovakia postal code patterns fix.
This commit is contained in:
parent
e4ae02fe94
commit
fa61315079
|
@ -43,7 +43,7 @@ class PostalCode extends Regex
|
|||
'CL' => "/^(\d{7})$/",
|
||||
'CN' => "/^(\d{6})$/",
|
||||
'CR' => "/^(\d{4})$/",
|
||||
'CS' => "/^(\d{5})$/",
|
||||
'CS' => "/^((\d{5})|(\d{3}\040\d{2}))$/",
|
||||
'CU' => "/^(?:CP)*(\d{5})$/",
|
||||
'CV' => "/^(\d{4})$/",
|
||||
'CX' => "/^(\d{4})$/",
|
||||
|
@ -147,7 +147,7 @@ class PostalCode extends Regex
|
|||
'SG' => "/^(\d{6})$/",
|
||||
'SH' => '/^(STHL1ZZ)$/',
|
||||
'SI' => "/^(?:SI)*(\d{4})$/",
|
||||
'SK' => "/^(\d{5})$/",
|
||||
'SK' => "/^((\d{5})|(\d{3}\040\d{2}))$/",
|
||||
'SM' => "/^(4789\d)$/",
|
||||
'SN' => "/^(\d{5})$/",
|
||||
'SO' => "/^([A-Z]{2}\d{5})$/",
|
||||
|
|
Loading…
Reference in a new issue