[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #18633] regular expressions case-insensitivity
From: |
Benno Schulenberg |
Subject: |
[bug #18633] regular expressions case-insensitivity |
Date: |
Sat, 30 Dec 2006 14:58:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061226 Firefox/1.5.0.9 |
Follow-up Comment #1, bug #18633 (project grep):
> When I type: grep '^[a-e]' filename
> it returns all lines beginning with an a,b,c,d,e,A,B,C, or D
> (but not an E).
Sounds like a locale problem. If you type:
grep '^[a-E]' filename
do all ten letters get included?
And what happens when using:
LC_ALL=C grep '^[A-Ea-e]' filename
What is the output of 'locale' and of 'type -a grep'?
(In CVS there's another problem, "grep -i --color '^[A-E]'" does
not colour the matches, whereas "grep -i --color '^[a-e]'" does.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18633>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/