develooper Front page | perl.perl5.porters | Postings from June 2009

Re: RFC: \p{Cntrl}

Thread Previous
From:
Abigail
Date:
June 17, 2009 01:56
Subject:
Re: RFC: \p{Cntrl}
Message ID:
20090617085753.GA18177@almanda
On Wed, Jun 17, 2009 at 12:28:46AM -0700, Glenn Linderman wrote:
> On approximately 6/8/2009 12:39 PM, came the following characters from  
> the keyboard of karl williamson:
>> Guess what the major category C stands for in Unicode?
>>
>> It stands for 'Other', and means characters (code points) that don't 
>> fit into anything else.
>>
>> Perl on the other hand thinks it stands for control, and so \p{Cntrl} 
>> in Perl is a synonym for the assigned characters in \p{C}.
>
>
> Yep, this could be fixed by using a different letter than \p also, for  
> Unicode conforming property names and property values only.
>
> Maybe there aren't any such letters left... could use  \p<> instead of  
> \p{} (or something along that line).


Currently unused backslashed ASCII letters are:

  \F, \i, \I, \j, \J, \m, \M, \o, \O, \q, \T, \y, and \Y

\c, \g, \k, \p, \P, and \x can only be followed by a limited set of 
characters, so there's so room for feature usage there as well.



Abigail

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About