From: Trans Date: 2007-05-21T03:40:37+09:00 Subject: Re: why no MatchData#match ? On May 20, 10:40 am, Robert Klemme wrote: > On 20.05.2007 16:16, Martin DeMello wrote: > > > I use MatchData infrequently enough that I keep being thrown by the > > lack of a #match method, to go along with #pre_match and #post_match. > > #[0] simply isn't as self-documenting. > > Probably because "match" sounds like the MD would be able to match again > (like Regexp.match). If you can come up with an unambiguous name I'd > make it a RCR. Long considered this, and I've come to think it doesn't matter. In everyday language we use "match" in multiple contexts, including verb and noun. I think it's okay if Ruby does too. T.