[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: Gecko/20061226 Firefox/

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]