Eric Mahurin wrote:
> On 11/19/05, Mark Hubbart <discordantus / gmail.com> 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