develooper Front page | perl.perl5.porters | Postings from October 2015

What should 'qr/\p{pkg::L}/ ' do?

Thread Next
Karl Williamson
October 8, 2015 14:58
What should 'qr/\p{pkg::L}/ ' do?
Message ID:
Currently it evaluates to the Unicode property 'Letter'.

But I think that is the wrong thing to do.

The pkg seems to me to want to force this into a user-defined property. 
  Recall that by defining a subroutine, a user can create their own 
properties.  The catch is that their names have to begin with 'In' or 
'Is'.  Therefore, I think that this should be a compile- or run-time 
failure that the property pkg::L is not found.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About