Hi list,

I've been thinking about the case sensitiveness in Ethereal header fields,
and I'm thinking in the direction of regular expressions (RE) instead of the
current "contains" function. This means we need a RE library (e.g., the
almost-everywhere-available "regex.h") which we have to use in the
epan/ftypes/ftype-*. The Ethereal dfilter operator name could be "regex" or
"~". Note that there are different flavors of regex, namely POSIX and GNU.

I am aware that RE parsing takes CPU, but it adds lots of extra
functionality at the cost of evaluating a RE if/when used. This way, we
could also do case-insensitive pattern matches.

Does anybody know how complex this would be?

Regards,

Olivier

Reply via email to