[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: have you ever mistyped [[:lower:]] as [:lower:] ?
From: |
Paolo Bonzini |
Subject: |
Re: have you ever mistyped [[:lower:]] as [:lower:] ? |
Date: |
Thu, 2 Sep 2010 09:54:52 +0200 |
>>> Such a behavior conforms to POSIX, which explicitly
>>> says that [A-Z] has unspecified behavior outside
>>> the POSIX locale. (See POSIX 9.3.5 point 7 at
>>>
>>> Users invariably want the Emacs behavior, not the
>>> grep behavior.
>>
>> An easy sell. Good!
>
> In fact, it might even be nice to preserve the locale-dependent existing
> behavior of collating-element ranges for '[[.A.]-[.Z.]]', even while
> changing the simpler [A-Z] to do the encoding-based range, so that a rare
> user that really DID mean to get locale-dependent collation range can still
> do so.
I agree with this, however it would have to be agreed upon with glibc.
Paolo
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, (continued)
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Paolo Bonzini, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Jim Meyering, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Paolo Bonzini, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Eric Blake, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Eric Blake, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Paul Eggert, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Eric Blake, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Jim Meyering, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Jim Meyering, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?, Eric Blake, 2010/09/01
- Re: have you ever mistyped [[:lower:]] as [:lower:] ?,
Paolo Bonzini <=