Skip to content
Newer
Older
100644 31 lines (22 sloc) 987 Bytes
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
1 use v6;
2 use Test;
3
620da0b [spec] some more :sameaccent and :ignoreaccent tests
moritz authored Jun 14, 2008
4 plan 10;
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
5
6 =begin description
7
384c821 @TimToady :a and :aa changed to :m and :mm long ago
TimToady authored Sep 26, 2011
8 Testing the C<:m> or C<:ignoremark> regex modifier - more tests are always welcome
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
9
10 TODO: need some tests for chars with multiple markings.
384c821 @TimToady :a and :aa changed to :m and :mm long ago
TimToady authored Sep 26, 2011
11 TODO: need some tests for combined :ignoremark and :sigspace modifiers
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
12
13 =end description
14
3a41ccc Fix all currently broken smartlinks to S05
Coleoid authored Jul 20, 2012
15 #L<S05/Modifiers/"The :m (or :ignoremark) modifier">
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
16
17 #?pugs 999 skip feature
3a41ccc Fix all currently broken smartlinks to S05
Coleoid authored Jul 20, 2012
18 ok(!'ä' ~~ m/a/, 'No :ignoremark: a doesnt match ä');
19 ok('ä' ~~ m:m/a/, 'Ignoremark: a matches ä');
20 ok('a' ~~ m:m/ä/, 'Ignoremark: ä matches a');
21 ok('à' ~~ m:m/a/, 'Ignoremark: a matches à');
22 ok('á' ~~ m:m/a/, 'Ignoremark: a matches á');
23 ok('â' ~~ m:m/a/, 'Ignoremark: a matches â');
24 ok('å' ~~ m:m/a/, 'Ignoremark: a matches å');
25 ok('ƌ' ~~ m:m/d/, 'Ignoremark: d matches ƌ');
384c821 @TimToady :a and :aa changed to :m and :mm long ago
TimToady authored Sep 26, 2011
26 ok('å' ~~ m:m/ä/, 'Both pattern and string may contain accents');
27 ok('a' ~~ m:m/ä/, 'Pattern may contain accents');
726f78c Add test for long spelling of :ignoremark
Coleoid authored Jul 20, 2012
28 ok('ä' ~~ m:ignoremark/a/, 'Ignoremark: spelling out :ignoremark also works');
f7c5811 [spec] moved basechar.t to ignoreaccent.t, changed modifier name to r…
moritz authored Jun 14, 2008
29
30 # vim: syn=perl6 sw=4 ts=4 expandtab
Something went wrong with that request. Please try again.