in reply to Re: Regular expression..
in thread Regular expression..

Is'n there something like qq() in Ruby? (Google suggests W(), %() and %%q{} and some more...) It would complicate the situation a fair bit.

Replies are listed 'Best First'.
Re^3: Regular expression..
by raybies (Chaplain) on Oct 29, 2010 at 17:21 UTC

    I was thinking if RUBY had Here documents, like perl does, that'd screw things up too... which doing a quick wiki search, it appears Ruby supports Here docs.

    --Ray update: of course, a regex with a # in it would also screw it up, which I imagine ruby supports too. So yeah... not a perfect solution.