On Fri, Sep 21, 2007 at 04:42:47PM +0200, Hanspeter Kunz wrote: > On Fri, 2007-09-21 at 15:36 +0100, martin f krafft wrote: > > also sprach Hanspeter Kunz <[EMAIL PROTECTED]> [2007.09.21.1528 +0100]: > > > well, I do not know the implementation of egrep. If it is > > > intelligent it simply discards constructions like .*$ > > > > It would still take more time. > > yep. but only once to preprocess the pattern and not during actual > pattern matching - given that grep does anything like that. Yeah, it's regcomp() and regexec(). Also the BSD ones are re_*.
_______________________________________________ Logcheck-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

