From: botp Date: 2009-02-20T12:00:33+09:00 Subject: Re: Ruby RE expression anomaly. From: 7stud -- [mailto:bbxx789_05ss@yahoo.com] # backslash. lol. # 3 backslashes in final result you can do, line.sub!(/(HREF=)/){|x| x+'file:\\\\\\'} well, if you work on strings and on OSes that use backslashes as file/dir separators, it will be fun-ny :) kind regards -botp (replying in gmail; apologies in advance if this gets duplicated, my outlook program is acting weird :)