Regular expression object

The following objects are directly related to the regexp API.

Regular expression

The global regular expression object has the following properties.

Property Type Description
regexpid ID ID of the regular expression.

Property behavior:
- read-only
- required for update operations.
name string Name of the regular expression.

Property behavior:
- required for create operations.
description text Description of the regular expression.
test_string string Test string.

Expressions

The expressions object has the following properties.

Property Type Description
expression string Regular expression.

Property behavior:
- required
expression_type integer Type of Regular expression.

Possible values:
0 - Contains string;
1 - Contains any substring from list;
2 - Does not contain string;
3 - Matches regular expression;
4 - Does not match regular expression.

Property behavior:
- required
exp_delimiter string Expression delimiter.

Default value: ",".

Possible values: "," or ".", or "/".

Property behavior:
- supported if expression_type is set to Contains any substring from list.
case_sensitive integer Case sensitivity.

Default value: 0.

Possible values:
0 - Case insensitive;
1 - Case sensitive.