Annotation Interface Pattern
An annotation that indicates that an options raw values must match a given
regular expression
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionProvides a description describing the intent of the regular expression, this is often more helpful to end users than an error that their input did not match a regular expression when they may not understand regular expressionsintThe flags for the regular expressionThe regular expression that must be matched
-
Element Details
-
pattern
-
flags
int flagsThe flags for the regular expression- Returns:
- Flags
- Default:
0
-
description
String descriptionProvides a description describing the intent of the regular expression, this is often more helpful to end users than an error that their input did not match a regular expression when they may not understand regular expressions- Returns:
- Description
- Default:
""
-