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.  Or at least tell me that it will provide two classes:
Unicode digit and digit you can do math with.  Unicode digit is nearly
worthless, and people keep confusing it for digit you can do math
with.  Shouldn't the Huffman encoding principle come into play and \d
be reserved for [0-9] and \p{IsDigit} (or the equivalent Perl 6
construct) be used for matching Unicode digits?


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

Reply via email to