Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[setting] comb takes Regex, not Code. Fixes RT #66340
  • Loading branch information
kyleha committed Nov 6, 2009
1 parent 830e2cf commit fe6dd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setting/Any-str.pm
Expand Up @@ -154,7 +154,7 @@ B<Note:> partial implementation only
}
}

our List multi method comb (Code $matcher = /./, $limit = *) {
our List multi method comb (Regex $matcher = /./, $limit = *) {
my $l = $limit ~~ Whatever ?? Inf !! $limit;
# currently we use a copy of self and destroy it piece by piece.
# the preferred way of doing it is using self, not destroying it,
Expand Down

0 comments on commit fe6dd27

Please sign in to comment.