This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

> 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 string (readonly) ID of the regular expression.
name
(required)
string Name of the regular expression.
test_string string Test string.

Note that for some methods (update, delete) the required/optional parameter combination is different.

Expressions object

The expressions object has the following properties.

Property Type Description
expression
(required)
string Regular expression.
expression_type
(required)
integer Type of Regular expression.

Possible values:
0 - Character string included;
1 - Any character string included;
2 - Character string not included;
3 - Result is TRUE;
4 - Result is FALSE.
exp_delimiter string Expression delimiter. Only when expression_type Any character string included.

Default value ,.

Possible values: ,, ., /.
case_sensitive integer Case sensitivity.

Default value 0.

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