Skip to content

Commit

Permalink
[proof-of-concept] added missing '?' quantifier
Browse files Browse the repository at this point in the history
Found by tadzik++.
  • Loading branch information
Carl Masak committed Sep 11, 2010
1 parent 61a5869 commit 8599dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proof-of-concept
Expand Up @@ -281,7 +281,7 @@ class POC::Installer does App::Pls::Installer {
}

for find-files("$target-dir/lib", /\.pm6?$/) -> $pmfile {
my $pirfile = $pmfile.subst(/\.pm6$/, '.pir');
my $pirfile = $pmfile.subst(/\.pm6?$/, '.pir');
my $just-dir = $pirfile.subst(/[<-[/]>+ '/'] ** 3/, '')\
.subst(/'/' <-[/]>+ $/, '');
my $target-dir = "%*ENV<HOME>/.perl6/lib/$just-dir";
Expand Down

0 comments on commit 8599dfe

Please sign in to comment.