[syslog-ng] Thoughts on patterndb syntax

Balazs Scheidler bazsi at balabit.hu
Thu Oct 28 22:09:12 CEST 2010


On Thu, 2010-10-28 at 13:13 -0600, Bill Anderson wrote:
> On Oct 28, 2010, at 12:58 PM, Lars Kellogg-Stedman wrote:
> > 
> > And of course you can make newlines explicit via \n and so forth.
> > Actually, the more we wander down this path the more I wish I could
> > just use PCRE-style regular expressions as long as I was willing to
> > put up with the performance impact.
> 
> I'd go for that too. Especially if it were implemented in the "create the regex once and re-use" fashion.
> 

I agree that the /x syntax produces actually quite readable regexps.
Otherwise regexps are quite unreadable and hard to maintain.

-- 
Bazsi




More information about the syslog-ng mailing list