From: Morten Welinder Date: Sat, 05 Aug 2006 19:19:02 GMT Subject: Re: [RFC/PATCH] Fix "grep -w" Message-ID: <118833cc0608051219q7e19800alc05870058973c2e@mail.gmail.com> In-Reply-To: <7vwt9ng3t1.fsf@assigned-by-dhcp.cox.net> 1. Are you sure that going to the end of the first match is correct? It seems to me that this will skip matches. Say you search for ".*" on a line that reads " xxx". 2. What about "^"? 3. What about empty matches? That could take a while... Morten