Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: Paris
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (23 sloc) 0.678 kb
augment class Regex {
multi method ACCEPTS($topic) {
my $match = $topic.match(self);
pir::store_dynamic_lex__vSP('$/', $match);
$match
}
multi method ACCEPTS(@topic) {
my Mu $match = any(@topic).match(self);
pir::store_dynamic_lex__vSP('$/', $match);
$match
}
multi method ACCEPTS(%topic) {
my Mu $match = any(%topic.keys).match(self);
pir::store_dynamic_lex__vSP('$/', $match);
$match
}
method Bool() {
my $topic = pir::find_dynamic_lex__pS('$_');
my $match = $topic.match(self);
pir::store_dynamic_lex__vSP('$/', $match);
$match.Bool()
}
}
Jump to Line
Something went wrong with that request. Please try again.