Skip to content

Commit

Permalink
Merge pull request #44 from rnldfll/master
Browse files Browse the repository at this point in the history
added new bins to 'MasterCard'
  • Loading branch information
fernahh committed Aug 22, 2016
2 parents 99022bd + 9847092 commit 64e9913
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/creditCardList.js
Expand Up @@ -20,6 +20,7 @@ const CREDIT_CARD_LIST = [
}, {
name: 'Mastercard',
regexpFull: '^5[1-5][0-9]{14}$'
//regexpFull: '^(5[1-5][0-9]{14}|2221[0-9]{12}|222[2-9][0-9]{12}|22[3-9][0-9]{13}|2[3-6][0-9]{14}|27[01][0-9]{13}|2720[0-9]{12})$' //After October
}, {
name: 'Visa',
regexpFull: '^4[0-9]{12}(?:[0-9]{3})?$'
Expand Down

0 comments on commit 64e9913

Please sign in to comment.