some remarks: I'd change "what.gsub!( /\./, '/' )" into "what = what.gsub( /\./, '/' )" in order to not fiddle with the argument (could be frozen after all). Is it possible that your regexp should've read "if( what =~ /^(.*)\.\*$/ )" (main issue the missing "\.")?
some remarks: I'd change "what.gsub!( /\./, '/' )" into "what = what.gsub( /\./, '/' )" in order to not fiddle with the argument (could be frozen after all).
Ah...yes. thx
Is it possible that your regexp should've read "if( what =~ /^(.*)\.\*$/ )" (main issue the missing "\.")?
its possible for someone to name a file "file*" but that is poor naming, but entirely possible! I'll make the update for the "\." to be. thx for pointing this out.