[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep -i back-reference bug
From: |
Lars Helgeland |
Subject: |
grep -i back-reference bug |
Date: |
Fri, 13 Feb 2004 00:27:35 +0100 (CET) |
It seems there is a bug in the case insensitive matching in the presence
of back references. The following was observed with grep 2.4.2 on Linux,
and grep 2.5 under Cygwin (I think 2.5.1 is the latest (?), but I can't
find any 2.5.1 sources to download):
lars:~$ echo "BLABLA"| grep -wi '\(bla\)\1'
lars:~$ echo "blabla"| grep -wi '\(BLA\)\1'
lars:~$ echo "blabla"| grep -wi '\(bla\)\1'
blabla
lars:~$ echo "blabla"| grep -wi '\(BLA\)BLA'
blabla
Regards,
Lars
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep -i back-reference bug,
Lars Helgeland <=