From: ahoward Date: 2002-10-30T00:31:33+09:00 Subject: Re: gsub and "\\" On Tue, 29 Oct 2002 coma_killen@fastmail.fm wrote: > "a".gsub("a") {"\\8?"} 'a'.gsub('a') { %q{\8?} } the %q operator is nice for this... it saves having to escape the escapes... -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================