diff options
author | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2018-11-16 16:11:31 +0300 |
---|---|---|
committer | Alex Kalimulin <aleksandrs.kalimulins@zabbix.com> | 2018-11-16 16:11:31 +0300 |
commit | f00581b2c72feb212f92540d70442d8e6e510ba7 (patch) | |
tree | 4d6fde51b85b5921309d1003507f1d4fd73d7f81 /include/zbxregexp.h | |
parent | f5069a6077cf0998e96b6935f04e7f3e54eda41b (diff) |
...G...PS. [ZBX-15106] improved error messages for item preprocessing, general pcre code improvements
Diffstat (limited to 'include/zbxregexp.h')
-rw-r--r-- | include/zbxregexp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zbxregexp.h b/include/zbxregexp.h index 13f7e18d04f..79409bf9b83 100644 --- a/include/zbxregexp.h +++ b/include/zbxregexp.h @@ -38,12 +38,15 @@ zbx_expression_t; /* regular expressions */ int zbx_regexp_compile(const char *pattern, zbx_regexp_t **regexp, const char **error); +int zbx_regexp_compile_ext(const char *pattern, zbx_regexp_t **regexp, int flags, const char **error); void zbx_regexp_free(zbx_regexp_t *regexp); int zbx_regexp_match_precompiled(const char *string, const zbx_regexp_t *regexp); char *zbx_regexp_match(const char *string, const char *pattern, int *len); int zbx_regexp_sub(const char *string, const char *pattern, const char *output_template, char **out); int zbx_mregexp_sub(const char *string, const char *pattern, const char *output_template, char **out); int zbx_iregexp_sub(const char *string, const char *pattern, const char *output_template, char **out); +int zbx_mregexp_sub_precompiled(const char *string, const zbx_regexp_t *regexp, const char *output_template, + char **out); void zbx_regexp_clean_expressions(zbx_vector_ptr_t *expressions); |