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...