bug-coreutils
[Top][All Lists]
Advanced

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

Re: Range problem in expr regex


From: Jim Meyering
Subject: Re: Range problem in expr regex
Date: Mon, 05 Nov 2007 17:01:57 +0100

Philip Rowlands <address@hidden> wrote:

> $ export LC_ALL=en_US
> $ ./expr --version
> expr (GNU coreutils) 6.9-354-68c33a
> $ ./expr "a" : "[A-Z]"
> 0
> $ ./expr "b" : "[A-Z]"
> 1
> $ ./expr "a" : "address@hidden"
> 1
>
> Although I see that POSIX has left the implementation of non-POSIX
> locales undefined with respect to range expressions in regexes, this
> looks like a bug nonetheless.

Hi Phil,

In that locale [A-Z] looks like AbBcCdD...




reply via email to

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