You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

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
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 - Character string included;
1 - Any character string included;
2 - Character string not included;
3 - Result is TRUE;
4 - Result is FALSE.

Property behavior:
- required
exp_delimiter string Expression delimiter.

Default value: ",".

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

Property behavior:
- supported if expression_type is set to "Any character string included"
case_sensitive integer Case sensitivity.

Default value: 0.

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