Administrator > Configure event domains > Define predicates

Define predicates

You can define the list of predicates for each event domain independently, and edit or add predicates at any time.

Validation patterns

The following table lists the available pattern libraries and the default regular expression for the validate feature. Note that you can also select a pattern library and then modify the pattern using Java regular expression syntax for custom behavior.

Pattern library options
Pattern Name Default Value
Letters only [A-Z,a-z]*
Numbers only \d*
5 Numbers only \d{5}
Basic Decimal number [-\+]?\d+\.?\d
Basic IP Address (no range checking) \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
Generic date time \d{1,4}/\d{1,2}/\d{1,4} \d{1,2}:\d{2}(:\d{2}) (AM|PM)?
ISO Date time (ISO 8601) \d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}(:\d{2})?(Z)?
Boolean (case-insensitive) (?i:true|false|yes|no)
String 10 characters or shorter .{0,10}
Other - Manual