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 authored and moritz committed Jul 18, 2012
1 parent 3337df6 commit 24d833a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Str.pm
Expand Up @@ -534,6 +534,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 24d833a

Please sign in to comment.