bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: possible gsub() bug


From: Stepan Kasal
Subject: Re: possible gsub() bug
Date: Fri, 23 Apr 2004 15:07:33 +0200
User-agent: Mutt/1.4.1i

Hello,

On Fri, Apr 23, 2004 at 01:25:46PM +0300, Teemu Ikonen wrote:
>      gsub("[A-Z][A-Z]*:","");

the problem can probably be solved by setting the C locale, like this:
        LC_ALL=C; export LC_ALL

In other locales, the collating sequence is different, eg. like this:

        aAbB...yYzZ

which means that A-Z includes also all lowercase letters except `a'

Have a nice day,
        Stepan




reply via email to

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