jessepollak / jessepollak/payment

Wrong mastercard pattern

Open
#214 6 comments 0 reactions 1 assignee Claimed by @GDMeira View on GitHub
bug
Dominant language
CoffeeScript
Stars
584
Forks
158
PR merge metrics
No merged PRs in 30d

Description

The mastercard pattern should be /^(5[1-5]|677189)|^(22[2-9][1-9]|2[3-6]\d{2}|27[0-1]\d|2720)/
A card number starting with 223 is not passing the test, but it should pass.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.