Possibly a bug in the "MATCH" AST node (Operators.cs).
Currently it generates a rhs.=~(lhs) call, while the correct behaviour
seems to be lhs.=~(rhs)
CRuby does use speed optimisations for 'str'=~/pat/ by calling rb_reg_match
(pat, str) and for /pat/=~any by calling rb_reg_match(pat, any).
Original issue reported on code.google.com by sason...@gmail.com on 11 Oct 2007 at 7:53
Original issue reported on code.google.com by
sason...@gmail.com
on 11 Oct 2007 at 7:53