bug-grep
[Top][All Lists]
Advanced

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

bug#16911: [PATCH] grep: fix bugs with -i and titlecase


From: Eric Blake
Subject: bug#16911: [PATCH] grep: fix bugs with -i and titlecase
Date: Sat, 01 Mar 2014 06:31:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/28/2014 11:53 PM, Paul Eggert wrote:
> Tags: patch
> 
> The attached patch, which I've pushed, fixes a problem with grep -i and
> titlecase that's been bugging me ever since someone pointed out some
> titlecase issues on the grep mailing list a few weeks ago.  It affects
> dfa.c, so I expect it'll fix a similar problem with gawk.
> 

>  
> +  grep -i no longer mishandles patterns containing titlecase characters.
> +  For example, in a locale containing the titlecase character
> +  'Lj' (U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J),
> +  'grep -i Lj' now matches 'LJ' (U+01C7 LATIN CAPITAL LETTER LJ).

Does it also match the lower case version?  In other words, are all
three cases of this character treated as equivalent?  It might help to
mention all three characters in the NEWS blurb.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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