Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Restore :x(*) handling suggested by spectests.
  • Loading branch information
pmichaud committed Jul 9, 2012
1 parent 0a9fb1e commit 9315e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Str.pm
Expand Up @@ -539,6 +539,7 @@ my class Str does Stringy {
}
else { @matches := ().list }
}
elsif nqp::istype($x, Whatever) { }
else {
X::Str::Match::x.new(got => $x).fail;
}
Expand Down

0 comments on commit 9315e50

Please sign in to comment.