[rsyslog] Possible bug: REs in templates

Mr. Demeanour mrdemeanour at jackpot.uk.net
Fri Nov 20 17:11:37 CET 2009


The following template produces one character fewer than expected.

%HOSTNAME:R,ERE,1,FIELD,0:([^\.]+)--end%

If, for example, the HOSTNAME string is 192.168.1.1, then the output is 
"19".

-- 
Jack.



More information about the rsyslog mailing list