You're right. When I said that I want all of those functions to 
return the same information, I actually tried to say that scan and gsub 
should pass a MatchData to the block, i.e., in

"alksjhsa".gsub(/.../ix){|match|
}

I would like match to be a MatchData. Here we need to use $1, $2 etc. 
and that's not always the best way to do it, in my opinion.


Austin Ziegler wrote:
> On Sat, 2 Nov 2002 05:57:28 +0900, Maur?cio wrote:
> 
>>Hi, guys,
>>
>>Just a sugestion: (...)
> 
> 
> Each of these has a different purpose, though. (...)