Actually, `#match` returns a `MatchData` object. It has a `#[]` which can take a numeric backreference or even a named backreference, if you get fancy with the regex.

http://ruby-doc.org/core-1.9.3/MatchData.html