Fixing pattern validation on card inputs