Hi,
In message "[ruby-talk:6228] RE: MatchData#[](0)"
on 00/11/10, Aleksi Niemel<aleksi.niemela / cinnober.com> writes:
|2) For some (probably quite simple) reason (I'm just too tired
| to find out) it does not work nice when using character class:
|
| ruby -e'str="abc"; str.gsub!(/[aeiou]/) {|m| p m; m.upcase }; p str'
| "a"
| "Abc"
It seems for me it's working nice. What's wrong?
matz.