demerphq wrote:
> 2009/9/30 karl williamson <public@khwilliamson.com>:
>> I had thought in our discussion last year that we had determined that these
>> should match only in the ASCII range. And so, I thought that when Yves
>> flipped the switch on the \p{Posix} matches, that these would change as
>> well, but that isn't the case:
>> perl -E "say chr(0x2028) =~ /\s/"
>> 1
>>
>> in blead.
>
> Im inclined to say it just slipped me by. Ill poke it with a stick
> when i get a chance.
>
>> If I'm wrong about the agreement, I would like to start another discussion,
>> and my initial position is that they should only match in the ASCII range.
>
> Agreed.
Just to be precise about it, I neglected to mention that my statement
was meant only to apply in the absence of a "use locale", and whatever
the base C library routines do on an EBCDIC system. I wasn't advocating
changing the behavior under those circumstances.
> 2009/9/30 Zefram <zefram@fysh.org>:
>> Yes please. The ASCII versions are very commonly required, deserving of
>> a shorthand, and currently lack any abbreviated form at all. Matching
>> extendable sets of Unicode characters is a much less common requirement,
>> and can already be expressed in explicitly-Unicode-based ways.
>
> Yes i concur.
>
> Yves
>
Thread Previous
|
Thread Next