Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Shouldn't touch card numbers #2
I have a trouble with your package, because it touches card numbers.
If I have text with any card number, I'll get:
numbers("Card: 5441 1686 1100 5540"); // => Card: 5,441 1,686 1,100 5,540 numbers("Card: 5441168611005540"); // => Card: 5,441,168,611,005,540
Can you fix this? You could use credit-card-regex for matching credit card numbers, for example.