On Wed, Nov 09, 2005 at 07:00:00AM +0900, Mauricio FernáÏdez wrote:
>     "foo".match(/foo/)    # => #<MatchData:0xb7d1f220>
>     $&                    # => nil
>     RUBY_VERSION          # => "1.6.8"

sorry, I meant

     "foo".match(/foo/){}   # => #<MatchData:0xb7cc21e4>
      $&                    # => "foo"
      RUBY_VERSION          # => "1.6.8"


-- 
Mauricio Fernandez