@Pattern

From NovaOrdis Knowledge Base
Revision as of 05:11, 12 October 2018 by Ovidiu (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Example

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