From: Todd Benson Date: 2008-07-26T05:16:58+09:00 Subject: Re: weird backsplash behaviour inside single quotes On Fri, Jul 25, 2008 at 10:09 AM, Michal Suchanek wrote: > On 25/07/2008, Todd Benson wrote: >> On Fri, Jul 25, 2008 at 9:33 AM, Todd Benson wrote: >> > The backslash is a tool to escape the single quote inside a quote, >> > therefore it must escape itself as well. >> >> >> I should be more clear. If you have a symbol that performs a function >> withing a domain (the quote) and you want to have the symbol not >> perform that function, but just be part of the domain, you have to use >> that symbol (escape) on itself. >> > well, there's no function to perform, there's no quote. And if we do > not distinguish between situation when there is a quote or not then > backslashing any other letter should also produce the letter. But then > we will lose the reason for which single quotes were introduced in the > first place: writing less backslashes. Simple. What if you're backslash comes at the end of a single-quoted string? Todd