From: matt@... (matt neuburg) Date: 2008-04-25T12:15:10+09:00 Subject: Re: puts "\\".gsub("\\", "\\\\") martinus wrote: > Hello, I have a mini-ruby quiz. Guess what this line of code writes to > the console, then try it for yourself: > > puts "\\".gsub("\\", "\\\\") We were just up and down this road (and I gave a workaround): m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com