bug-gnulib
[Top][All Lists]
Advanced

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

Re: proposal: make [A-Z] range handling locale-independent


From: Philipp Thomas
Subject: Re: proposal: make [A-Z] range handling locale-independent
Date: Thu, 16 Jun 2011 12:39:15 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Jim Meyering (address@hidden) [20110616 11:57]:

> In some locales, the [A-Z] regexp currently matches 25 of the
> lower case letters.  For example,
>
>     $ echo a| LC_ALL=cs_CZ grep '[A-Z]'
>     a
>     $ echo y| LC_ALL=cs_CZ grep '[A-Z]'
>     y

Sorry for chiming in late, but IMO that's why [:upper:] and
[:lower:] exist and work as expected. On the other hand, SUSE by default
ignores locale settings besides LC_CTYPE for root exactly because so many
scripts blindly assume ASCII locale.

Philip



reply via email to

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