ironruby icon indicating copy to clipboard operation
ironruby copied to clipboard

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

Open slide opened this issue 9 years ago • 0 comments

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

slide avatar Jul 14 '16 22:07 slide