Annotation Type RegExp
-
@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=RegExpValidator.class) @Documented public @interface RegExp
The annotated element must be correct regular expression
@Target(FIELD) @Retention(RUNTIME) @Constraint(validatedBy=RegExpValidator.class) @Documented public @interface RegExp