File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ be valid perl6.
12
12
13
13
= end pod
14
14
15
- plan 47 ;
15
+ plan 52 ;
16
16
17
17
# Broken:
18
18
# L<S05/Extensible metasyntax (C<< <...> >>)/"A leading [ ">
@@ -114,4 +114,15 @@ nok '^' ~~ / <[ \[ .. \] ]> /, '... does not match outside its range';
114
114
dies-ok { ' a' ~~ / <+ xdigit - digit > / }, " accidental kebabs disallowed" ;
115
115
}
116
116
117
+ dies-ok { EVAL ' /<[Ḍ̇..\x2FFF]>/' }, ' Cannot use NFG synthetic as range endpoint' ;
118
+
119
+ # RT #125753
120
+ is " Aa1" ~~ /:i <[ a..z0..9 ] >+ /, " Aa1" , ' :i with cclass with multiple ranges works' ;
121
+ is ' %E3%81%82' ~~ /:ignorecase ['%' (<[ a..f0..9 ] >| x)** 2]+ /, ' %E3%81%82' ,
122
+ ' :ignorecase in combination with charclass ranges works with LTM' ;
123
+ is ' Ä' ~~ /:ignoremark (<[ A..F ] >| x) /, ' Ä' ,
124
+ ' :ignoremark in combination with charclass ranges works with LTM' ;
125
+ is ' Ä' ~~ /:ignoremark :ignorecase (<[ a..f ] >| x) /, ' Ä' ,
126
+ ' :ignoremark :ignorecase in combination with charclass ranges works with LTM' ;
127
+
117
128
# vim: ft=perl6
You can’t perform that action at this time.
0 commit comments