Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.352 kb
use Test::More tests => 2;
use Pegex::Regex;
if ("xxxyyy" =~ qr{a: <b> <c>; b: /xxx/; c: /(yyy)/}) {
is ref(\%/), 'HASH', 'Pegex::Regex works';
}
else {
diag $@;
fail 'Pegex::Regex fails';
}
if ("3 blind mice\n" =~ qr{t/mice.pgx}) {
pass 'Pegex::Regex works with file grammar';
}
else {
diag $@;
fail 'Pegex::Regex fails';
}
Jump to Line
Something went wrong with that request. Please try again.