Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (17 sloc) 0.592 kB
use v6;
use Test;
# L<S05/Extensible metasyntax (C<< <...> >>)/matches any logical grapheme>
=begin pod
This file was derived from the perl5 CPAN module Perl6::Rules,
version 0.3 (12 Apr 2004), file t/combchar.t.
It has (hopefully) been, and should continue to be, updated to
be valid perl6.
=end pod
plan 3;
my $unichar = "\c[GREEK CAPITAL LETTER ALPHA]";
my $combchar = "\c[LATIN CAPITAL LETTER A]\c[COMBINING ACUTE ACCENT]";
#?pugs todo 'feature'
ok("A" ~~ m/^<.>$/, 'ASCII');
ok($combchar ~~ m/^<.>$/, 'Unicode combining');
ok($unichar ~~ m/^<.>$/, 'Unicode');
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.