F. Senault wrote:

> Are you sure it's not simply a display problem in IRB ?
> 
>>> s = "abc#def"
> => "abc#def"
>>> re = /#{s}/
> => abc
>>> re.inspect
> => "/abc#def/"
>>> re.match("aaaabc#defffff")
> => #<MatchData:0xca0ee0>
>>> re.match("aaaabc#defffff")[0]
> => "abc#def"
> 
> After a few tests, it seems it comes from wirble, in my case...
> 
> Fred

That's it exactly!  Fred, you're a genius - it was working properly all 
along, it just looked like it wasn't.

Thanks a lot, and to everyone else too.
-- 
Posted via http://www.ruby-forum.com/.