Ethereal-dev: [Ethereal-dev] New "matches" (PCRE support) patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Sat, 6 Dec 2003 15:02:53 +0100
Hi list,

Attached you'll find a new patch that implements the "matches" dfilter
operation. I compiled it once with and once without PCRE support, to make
sure it works in both cases. If a "matches" operator is found in a dfilter
while libpcre has not been used to build the binary, then I throw an
exception after using dfilter_fail() to set an apporporiate error message.

Please review and check in.

A second patch is likely to arrive in the coming few days, if I am able to
put the RE compilation somewhere at dfilter parsing (semcheck.c). This will
probably require a new FT_PCRE internal field type.

Regards,

Olivier.

Attachment: cvs.diff.gz
Description: Binary data