Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rakudo/rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Berends committed May 26, 2010
2 parents 51b61c5 + 1728e99 commit 6f0e67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Cool-str.pm
Expand Up @@ -209,7 +209,7 @@ augment class Cool {
my $i = 1;
my @r = gather while my $m = Regex::Cursor.parse(self, :rule($pat), |%opts) {
my $m-copy = $m;
unless $nth.defined && ($i !~~ any |$nth) {
if !$nth.defined || ($i ~~ any |$nth) {
take $m-copy;
$taken++;
}
Expand Down

0 comments on commit 6f0e67d

Please sign in to comment.