[syslog-ng]syslog-ng's matching vs a perl-regex match

Carson Gaspar carson@taltos.org
Tue, 30 Oct 2001 13:46:21 -0500


--On Tuesday, October 09, 2001 11:32 AM +0200 Balazs Scheidler 
<bazsi@balabit.hu> wrote:

> syslog-ng is using a the regexp lib in libc.

If it's using the POSIX interfaces, I recommend linking it against the PCRE 
(Perl Compatible Regular Expression) library. In my tests, it's the 
fastest, and supports the perl RE syntax (with one or two very obscure 
exceptions).

If it's not using the POSIX interfaces, porting code from the old regexp 
APIs to the new POSIX API is trivial.

-- 
Carson