From: Max Williams Date: 2008-11-13T22:58:52+09:00 Subject: Re: '#' characters are breaking my regexp 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") > => # >>> 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/.