@@ -20,7 +20,6 @@ plan 17;
20
20
21
21
is $ latin-chars . comb (/<alnum > /). join , " 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ" , ' alnum chars' ;
22
22
23
- # ?rakudo.parrot todo 'blank characters'
24
23
is $ latin-chars . comb (/<blank > /)>>. ord . join (" ," ), ' 9,32,160' , ' blank chars' ;
25
24
26
25
is $ latin-chars . comb (/<cntrl > /)>>. ord . join (" ," ), ((0 .. 31 , 127 .. 159 ). join (" ," )), ' cntrl chars' ;
@@ -29,25 +28,15 @@ plan 17;
29
28
# ?rakudo.jvm todo 'Unicode 6.3 -- lower characters'
30
29
is $ latin-chars . comb (/<lower > /). join , " abcdefghijklmnopqrstuvwxyzµßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ" , ' lower chars' ;
31
30
32
- # unicode 6.1 reclassifies punctuation characters, so actual results may vary depending
31
+ # ++ FLAPPERS on jvm/parrot
32
+ # unicode 6.1 reclassifies § and ¶ as punctuation characters, so actual results may vary depending
33
33
# on unicode version bundled with jdk, icu etc.
34
-
35
- my $ punct-chars := q < !"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿ > ;
36
- my $ punct-chars-pre61 := q < !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ > ~ chr (160 ) ~ q < ¡¢£¤¥¦§¨©«¬®¯°±²³´¶·¸¹»¼½¾¿×÷ > ;
37
- my $ punct := $ latin-chars . comb (/<punct > /). join ;
38
-
39
- # ?rakudo.jvm todo "?"
40
- ok ($ punct eq $ punct-chars || $ punct eq $ punct-chars-pre61 ), ' punct chars'
41
- or diag " punct: $ punct" ;
42
- my @ punct = $ punct . comb ;
43
- my @ punct-chars-pre61 = $ punct-chars-pre61 . comb ;
44
-
45
- $ punct-chars := q < !"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿ > ;
46
- $ punct-chars-pre61 := q < !"#%&'()*,-./:;?@[\]_{}¡«·»¿ > ;
47
- $ punct := $ latin-chars . comb (/<:Punctuation > /). join ;
48
-
49
- ok $ punct eq $ punct-chars || $ punct eq $ punct-chars-pre61 , ' :Punctuation chars'
50
- or diag " :Punctuation: $ punct" ;
34
+ # ?rakudo.parrot todo 'punct characters'
35
+ # ?rakudo.jvm todo 'Unicode 6.1 -- punct characters'
36
+ is $ latin-chars . comb (/<punct > /). join , q < !"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿ > , ' punct chars' ;
37
+ # ?rakudo.jvm todo 'Unicode 6.1 -- :Punctuation characters'
38
+ is $ latin-chars . comb (/<:Punctuation > /). join , q < !"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿ > , ' :Punctuation chars' ;
39
+ # -- FLAPPERS
51
40
52
41
is $ latin-chars . comb (/<upper > /). join , " ABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ" , ' upper chars' ;
53
42
0 commit comments