On Sat, Dec 20, 2003 at 10:31:53PM +0900, Martin DeMello wrote:
> Elias Athanasopoulos <elathan / phys.uoa.gr> wrote:
> > 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...
> 
> Well, for one, I think more people would expect it to be interpreted as
> foo.gsub(Regexp.quote(bar), ...)

/me nods
i use this same paradigm frequently. 
its a bit icky for such a common action.

Alex