From: Iain 'Spoon' Truskett Date: 2002-12-06T13:23:05+09:00 Subject: Re: Regexp imxo - does 'x' work? * ahoward (ahoward@fsl.noaa.gov) [06 Dec 2002 13:38]: [...] > since ruby's comments continue till line's end, i guess there is no way to > embed comments in a single line regex? or is there? puts "Foo" =~ /Fo(?# this is a comment )o/ Better of using /x imho. Makes things more readable. cheers, -- Iain.