Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e66b5b

Browse filesBrowse files
committed
change regex
1 parent e9672a9 commit 8e66b5b
Copy full SHA for 8e66b5b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/CardSchemeValidator.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.