@Pattern: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Overview= =Example= <syntaxhighlight lang='java'> @Pattern(regexp="^(0[1-9]|1[0-2])([\\\\/])([1-9][0-9])$", message="Not a valid expiration date") private String expiration...") |
No edit summary |
||
Line 1: | Line 1: | ||
=Internal= | |||
* [[Bean_Validation#Annotations|Bean Validation]] | |||
=Overview= | =Overview= | ||
Revision as of 05:12, 12 October 2018
Internal
Overview
Example
@Pattern(regexp="^(0[1-9]|1[0-2])([\\\\/])([1-9][0-9])$", message="Not a valid expiration date")
private String expiration;