@Pattern: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
=Internal=
=Internal=


* [[Bean_Validation#Annotations|Bean Validation]]
* [[JavaBeans_Validation#Annotations|JavaBeans Validation]]


=Overview=
=Overview=

Latest revision as of 17:34, 16 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;