Philip Rowlands <[EMAIL PROTECTED]> 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" : "[EMAIL PROTECTED]"
> 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...


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to