On Tue, Jan 06, 2009 at 12:42:16PM -0500, Chas. Owens wrote:
> On Tue, Jan 6, 2009 at 10:12, Patrick R. Michaud <pmich...@pobox.com> wrote:
> snip
> > Also, Perl 6 already provides a 'digit' rule by default, although
> > it's digits in the Unicode sense as opposed to simply the 0..9
> > sequence.
> snip
> 
> Please tell me that Perl 6 isn't going to make that same error the
> Perl 5.8 did.  

As far as I know, <alpha> means "Unicode alphabetic", and by analogy
one presumes that <digit> is "Unicode digit".

> Or at least tell me that it will provide two classes:
> Unicode digit and digit you can do math with.  

It's entirely possible that in Perl 6 one can "do math" with
strings containing Unicode digits, making the distinction 
somewhat irrelevant, perhaps.  (I don't have proof of this, but 
I suspect it to be the case.)

I know that magical string autoincrement honors Unicode digit
sequences, at any rate.

Pm

Reply via email to