[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep -i does not treat non-matching character ranges correctly
From: |
Tilman Johannes Bohl |
Subject: |
grep -i does not treat non-matching character ranges correctly |
Date: |
Mon, 9 Jul 2012 21:45:45 +0200 |
Hi,
grep doesn't seem to treat ranges of non-matching characters correctly.
To reproduce, copy into bash:
echo CLOAK_OF_DISPLACEMENT | grep -Ei 'displace[^A-Z]'
output:
CLOAK_OF_DISPLACEMENT
expected output: empty.
This is grep (GNU grep) 2.5.1, as preinstalled on Mac OS X 10.5.
Cheers,
Tilman
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep -i does not treat non-matching character ranges correctly,
Tilman Johannes Bohl <=