| From: Guy Harris | | On Dec 2, 2003, at 2:06 PM, Biot Olivier wrote: | | > 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). | | So if libpcre isn't available, the "matches" operator isn't supported?
Not really. I decided to have the "matches" operator always available to the dfilter grammar and syntax, but to conditionally attach the cmp_matches() function to the relevant ftype-X.c files (actually it's only implmented for FT_STRING and similar, all defined in ftype-string.c). Maybe I can try to conditionally allow the "matches" operator. This'll need some #ifdef HAVE_LIBPCRE ... #endif stuff around my changes in epan/dfilter/. Should I also do this in the different ftype-* files and ftype-int.h, or is it OK to leave the cmp_matches() entry in the struct? Regards, Olivier _______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev
