From: Morton Goldberg Date: 2007-07-07T07:22:33+09:00 Subject: Re: Pattern Matching Problem On Jul 6, 2007, at 5:40 PM, Rob Biedenharn wrote: > On Jul 6, 2007, at 2:54 PM, Morton Goldberg wrote: >> On Jul 6, 2007, at 11:42 AM, Ari Brown wrote: >> I suspect it's to allow us to print strings verbatim. >> >>> Whats the difference between single and double quoted strings? >> >> I believe single-quoted strings have only one special character -- >> the single quote. >> >> Regards, Morton > > And the backslash is a bit special: > > 'n' => "n" > '\'' => "'" > '\\' => "\\" > '\n' => "\\n" # because the \ is only special for \ and ' You're right, I should have said there are two special characters -- single quote and backslash. Regards, Morton