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
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.
# 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
$