@Pattern

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Example

@Pattern(regexp="^(0[1-9]|1[0-2])([\\\\/])([1-9][0-9])$", message="Not a valid expiration date")
private String expiration;