From: Elias Athanasopoulos Date: 2003-12-19T03:12:57+09:00 Subject: Re: Yukihiro - Please ensure backwards compatibility On Thu, Dec 18, 2003 at 12:39:53PM +0900, Austin Ziegler wrote: > On Thu, 18 Dec 2003 11:01:56 +0900, Joseph Benik wrote: > > i don't understand the need to nitpick the regexp in this case, if > > someone passes a string it seems quite a simple task for you to _ENSURE > > BACKWARDS COMPATIBILITY_ and convert it internally to a regexp > > This is a deprecation warning. It will no longer be backwards compatible in > 1.9 and later, IIRC (maybe as early as 1.8.1). > > In 1.8.0, however, it's just a warning. I had this "problem", too. I can't see why Ruby is so verbose on that and doesn't interpret foo.gsub[!]("bar", ...) as foo.gsub[!](/bar/, ...) automagically... Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky