Hi all, Attached patch implements Perl Compatible Regular Expressions in Ethereal display filters with the "matches" operation. The patch includes all required autotools gizmos, and libpcre is not required but will be looked for if available (similar to zlib support).
I tested it with automake 1.4-p6 (freshly installed it some hours ago). Please review and check in. I still need to work on the regular expressions (RE) options, but I first want to know which would be the best place to (already) optimize the code. The current implementation compiles the RE and evaluates it afterwards for every matching filterable header field. I want to store the compiled (and possibly also studied) RE once at dfilter parsing time. I was thinking at doing this by means of a private FT_PCRE type, containing a struct with a pcre * and a pcre_extra *. Fire your comments! Regards, Olivier
patch-pcre.diff.gz
Description: Binary data
_______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
