Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e66b5b

Browse files
committed
change regex
1 parent e9672a9 commit 8e66b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class CardSchemeValidator extends ConstraintValidator
8080
],
8181
// Payment system MIR numbers start with 220, then 1 digit from 0 to 4, then 12 digits
8282
'MIR' => [
83-
'/^220[0-4]{1}[0-9]{12}$/',
83+
'/^220[0-4][0-9]{12}$/',
8484
],
8585
// All UATP card numbers start with a 1 and have a length of 15 digits.
8686
'UATP' => [

0 commit comments

Comments
 (0)