emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#16631: closed (Consideration of title case on case


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16631: closed (Consideration of title case on case-insensitive matching)
Date: Sun, 09 Feb 2014 16:31:03 +0000

Your message dated Sun, 9 Feb 2014 08:30:22 -0800
with message-id <address@hidden>
and subject line Re: bug#16631: Consideration of title case on case-insensitive 
matching
has caused the debbugs.gnu.org bug report #16631,
regarding Consideration of title case on case-insensitive matching
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16631: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16631
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Consideration of title case on case-insensitive matching Date: Tue, 04 Feb 2014 01:20:23 +0900
Package: grep
Tags: patch

In UTF-8 character set, an alphabet may have not only upper case and
lower case but title case.  grep-2.16 fails in matching as following
in order not to take it into consideration.

  echo 'LJ' | LC_ALL=en_US.UTF-8 grep -i Lj
  echo 'Lj' | LC_ALL=en_US.UTF-8 grep -i LJ

We expect that LJ and Lj are returned, respectively.  But both return
nothing. 

This patch replaces `towupper' and `towlower' to `towctrans'.
And the above will return the expected results. 

Attachment: grep-ignore-icase.txt
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#16631: Consideration of title case on case-insensitive matching Date: Sun, 9 Feb 2014 08:30:22 -0800
Thank you both for helping with this issue.
Paul's argument has convinced me that we should not make this change now.
If anyone comes up with a good case for applying this patch, please let us
know and we'll be happy to revisit.


--- End Message ---

reply via email to

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