From: Hal Fulton Date: 2005-11-20T04:35:58+09:00 Subject: Re: Symbol#inspect bug? Eric Mahurin wrote: > On 11/19/05, Mark Hubbart wrote: > > > I think this is a bug. These should be equivalent: > > irb(main):001:0> /\#{23}/ > => /\#{23}/ > irb(main):002:0> /#{'#{23}'}/ > => /#{23}/ > > Regexp#inspect should always escape '#'. > #inspect is for human-readable strings. If they happen to be evalable, it's a side effect. Hal