(Quick Reference)

matches

Purpose

To validate that a String value matches a given regular expression.

Examples

login(matches:"[a-zA-Z]+")

Description

Applies a regular expression against a string value.

Error Code: className.propertyName.matches.invalid