From: Phlip Date: 2008-07-30T12:05:10+09:00 Subject: Re: A couple of basic questions RichardOnRails wrote: > Find.find(wd) do |item| # Subordinate file/directory fully-qualified > names For the sake of the deity or not of your choice, use Pathname!! > item.gsub!(/([pP])ortfolio/, $1 + 'osition') Would item.gsub!(/([pP])ortfolio/, '\1osition') work? I suspect this would work: item.gsub!(/([pP])ortfolio/){ $1 + 'osition' } -- Phlip