[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in grep with -i
From: |
Stepan Kasal |
Subject: |
Re: Bug in grep with -i |
Date: |
Tue, 15 Feb 2005 16:56:26 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi,
thank you very much for the bug report.
On Tue, Feb 15, 2005 at 09:15:16AM -0500, Jon Tulk wrote:
> grep -i "\WIL\W"
>
> Expected behaviour is to find all lines containing "IL" (caseblind) as
> a word. Actual result is to find all lines containing "IL" (caseblind)
> only where embedded in a word.
[...]
> grep -i "\wil\w"
Yes, this is a problem with current code. Unfortunately, it won't be
fixed in the next release 2.5.2.
But it'll be fixed later, in the 2.6 branch.
For now, the only workaround is probably:
grep "\W[iI][lL]\W"
Thanks,
Stepan Kasal