diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-04 11:11:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-04 11:11:52 +0200 |
commit | eddaca33a81206aab7c6627e5c91d22232445adf (patch) | |
tree | 2aafa6d745db2b2e51ef5d616ca11ee44b2e5d54 /template.h | |
parent | 99e97dadf1d03c9db33d49e91b26ceb28a39ed1a (diff) | |
download | rsyslog-eddaca33a81206aab7c6627e5c91d22232445adf.tar.gz rsyslog-eddaca33a81206aab7c6627e5c91d22232445adf.tar.bz2 rsyslog-eddaca33a81206aab7c6627e5c91d22232445adf.zip |
enhanced property replacer to support multiple regex matches
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -69,6 +69,7 @@ struct templateEntry { regex_t re; /* APR: this is the regular expression */ short has_regex; short iMatchToUse;/* which match should be obtained (10 max) */ + short iSubMatchToUse;/* which submatch should be obtained (10 max) */ enum { TPL_REGEX_BRE = 0, /* posix BRE */ TPL_REGEX_ERE = 1 /* posix ERE */ |