grep -i does not treat non-matching character ranges correctly
Tilman Johannes Bohl <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
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