So, I was regexp'ing away just now, and noted a MatchData method missing which
would be very useful (at least to me). I was doing something like this:
re = Regexp.compile("([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])")
match = re.match(someRandomString)
foo = match.slice(1,2).join(':')
which of course didn't work. I had assumed that since MatchData had
a [] method, it might also support some other array-like functionality. Is
there a way to extract an array of the matched results from a MatchData
object?
louie