From: "ako..." Date: 2005-12-16T10:46:00+09:00 Subject: Re: $-variables and regexp > puts 'a-b-c-'.gsub(/(.)-/) { |str| str + '_' } i think this is incorrect. id appends an underscore. i need to replace it.