fix regexp for credit card, also set month only if regexp is correct

Closes #5427