[syslog-ng] subst() pcre escape sequences
bazsi at balabit.hu
Thu Mar 18 11:15:01 CET 2010
On Thu, 2010-03-11 at 12:36 -0700, Patrick H. wrote:
> \Q is quote in pcre, not what I need to do. Plus its not evaluating
> the escapes at all. I'm guessing that syslog-ng isnt passing the
> second argument of the subst() to pcre, but is doing to replacement
> itself (havent dug through the code).
This is true, syslog-ng inteprets the second argument as a template,
allowing you to do macro expansion.
More information about the syslog-ng