[syslog-ng] subst() pcre escape sequences
Paul Robert Marino
prmarino1 at gmail.com
Thu Mar 11 20:31:08 CET 2010
try a \Q instead of \L
On 3/10/2010 6:47 PM, Patrick H. wrote:
> Ok, I'm trying to lowercase a certain macro with a pcre rewrite rule.
> Unfortunately it doesnt seem to be observing pcre escape sequences.
> subst('^(.+)$','\L$1\E',value('FROM') flags('store-matches')
> type('pcre')); (the FROM macro is created from the named match of an
> earlier pcre filter()
> It ends up just putting a literal '\L' and '\E' at the start and end
> of the string. Is this a bug, or am I doing something wrong, or is
> there another way to do this?
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100311/c038a0eb/attachment.htm
More information about the syslog-ng
mailing list