@Pattern: Difference between revisions

From NovaOrdis Knowledge Base
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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Internal=
* [[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;