         case discover
         case dinersClub
         case jcb
+        case maestro
+        case rupay
     }
     
     public enum CardError: Error {
         case unsupported
         case invalid
     }
-    
     fileprivate class func regularExpression(for cardType: CardType) -> String {
         switch cardType {
         case .amex:

            return "^5[1-5][0-9]{5,}$";
        case .visa:
            return "^4[0-9]{6,}$";
        }
    }
    

            return "Diner's Club"
        case .jcb:
            return "JCB"
        case .maestro:
            return "Maestro";
        case .rupay:
            return "Rupay";

        }
    }
    
