[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18633] regular expressions case-insensitivity

From: Rob Hinks
Subject: [bug #18633] regular expressions case-insensitivity
Date: Sat, 30 Dec 2006 21:38:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061206 Firefox/

Follow-up Comment #4, bug #18633 (project grep):

Yes, when I first posted the 'bug' I hadn't realised that it was due to the
collation order of en_GB.UTF-8. It is logical for grep to follow the
collation order specified in the locale, so I appreciate it is not a bug.

Part of my confusion was due to other tools (such as sed, awk and vi), not
using the collation order specified in the locale (although there is no
reason that they should not do things differently). Also, whilst the
significance of this is documented in
http://www.gnu.org/software/grep/doc/grep_8.html#IDX178 there seems to be a
lack of wider awareness of the issue (it seems to be generally assumed that
[a-d] is equivalent to [abcd]). This is not a criticism of grep, but I don't
think it can hurt to have this discussion as there must be other users who
are unaware of their locale collation order and the implications of this on
grep (tho perhaps this is the wrong place to have such a discussion!).

Anyway, thanks for helping me come to a better understanding of grep and
locale, and apologies for assuming it was a bug.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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