From: Gennady Bystritksy Date: 2005-09-30T00:23:19+09:00 Subject: Re: Backslashes Han Holl wrote: > On 9/29/05, Gavin Kistner wrote: > >>On Sep 29, 2005, at 7:58 AM, Han Holl wrote: >> >>>Why does >>>'\\'.gsub('\\','\\\\').size >>>produce 1 ? >>> >>>Is this a bug, or should it be specially documented ? >> >>See "Explanation for the multitude of backslashes" on http:// >>rubygarden.org/ruby?RegexpCookbook >> >>Thanks to you all. > > Pickaxe2 seems to be silent about this. Maybe pickaxe3 ? > > Cheers, > > Han Holl > You cannot have one book cover EVERY aspect of a subject. People will hate when it grows to several volumes. That's where online resouces come in handy. Gennady.