bug-grep
[Top][All Lists]
Advanced

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

Re: Case matching error


From: Jan Wielemaker
Subject: Re: Case matching error
Date: Mon, 6 Mar 2006 11:35:29 +0100
User-agent: KMail/1.8.2

Tim,

On Monday 06 March 2006 11:22, Tim Waugh wrote:
> On Mon, Mar 06, 2006 at 10:38:16AM +0100, Jan Wielemaker wrote:
> > > The original reporter is seeing the correct implementation of the
> > > locale stuff, I imagine.
> >
> > gollem (~) 1_> locale
> > LANG=en_GB.UTF-8
>
> As I said -- you are seeing the _correct_ implementation of the locale
> bits.  For [A-Z], you mean that you want everything that compares
> (using strcoll) between 'A' and 'Z' -- this includes 'm', for
> instance.  If you meant that you want all upper-case letters, you need
> to use a class, such as [[:upper:]].

Thanks.  I see.  I don't think I'm the only person that will be surprised
by this :-(  Sorry for the noise.

        Cheers --- Jan





reply via email to

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