[perl #65172] .ord() does not work on graphemes

2014-07-10 Thread Carl Mäsak via RT
Is \w defined as on purpose? yes It is not in perl5 no? With the very good reason that it matches combining chars for example m: say 'xyz̧p' ~~ /\w+/ rakudo-moar 4cad54: OUTPUT«「xyz」␤␤» those are meant to be deal with at grapheme level in p6 Right; that's a lack of NFG... oh, so the abov

[perl #65172] .ord() does not work on graphemes

2011-10-04 Thread Will Coleda via RT
On Mon Apr 27 06:20:19 2009, hel...@wollmersdorfer.at wrote: > $ ./perl6 -e 'say "\c[LATIN CAPITAL LETTER A, COMBINING DOT ABOVE]".ord;' > 65 > $ ./perl6 -e 'say "\c[LATIN CAPITAL LETTER A WITH DOT ABOVE]".ord;' > 550 > > Both results should be the same in grapheme mode. Grapheme mode is default.

[perl #65172] .ord() does not work on graphemes

2009-04-28 Thread via RT
# New Ticket Created by Helmut Wollmersdorfer # Please include the string: [perl #65172] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=65172 > $ ./perl6 -e 'say "\c[LATIN CAPITAL LETTER A, COMBINING DOT ABOVE]".ord;' 65 $