From: "Peña, Botp" Date: 2008-09-22T17:13:00+09:00 Subject: Re: Ruby GSUB question From: Brian Candler [mailto:b.candler@pobox.com] #... # Inside a single- or double-quoted string, \ is an escape # character, and # to get a literal backslash you have to escape it with another # backslash. # So "\\" is a single backslash; "\\\\" is two backslashes. #... # otoh, perl also has regex power tools like \Q..\E eg (escaping without using the backslash ie) maybe we could have something similar? =) kind regards -botp