Hi

Is there a nicer way than "\\\\'" for replacing  '  with  \'     ?

"ab'cd".gsub(/'/,'\\'+"'")    does interpret \' ...

thanks
Opti


Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>