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