IronLanguages / ironruby

99 stars 24 forks source link

Array.grep does not set globals $1, $2, etc #2

Open slide opened 8 years ago

slide commented 8 years ago

From @rickmark on August 5, 2011 23:41


["one"].grep { $1 } # => [ "one" ] on MRI and [ nil ] on IronRuby

Copied from original issue: IronLanguages/main#30