From: Rob Biedenharn Date: 2007-07-07T06:40:49+09:00 Subject: Re: Pattern Matching Problem 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 ' -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com