8000 Remove capture group as it is not necessary · symfony/symfony@b83ceca · GitHub
[go: up one dir, main page]

Skip to content

Commit b83ceca

Browse files
committed
Remove capture group as it is not necessary
1 parent 549ba39 commit b83ceca

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
// All UATP card numbers start with a 1 and have a length of 15 digits.
8282
'UATP' => array(
83-
'/^1([0-9]{14})$/',
83+
'/^1[0-9]{14}$/',
8484
),
8585
// All Visa card numbers start with a 4 and have a length of 13, 16, or 19 digits.
8686
'VISA' => array(

0 commit comments

Comments
 (0)
0