On Tue, Apr 16, 2002 at 02:57:42PM -0400, Dan Sugalski wrote: > >b) 'a\"b' was printing being stored as a\"b and not a"b > > The patch for the first looks good, but I'm not sure about the > second. Have we settled on the behavior of single-quoted strings?
Don't know about "settled" but I suggest that the previous behaviour was the correct one. The only characters that should be escaped in a single quoted strings are C<'> and C<\>. Anything else is literal. e.g. 'foo\'bar\\ping\"pong' => foo'bar\ping\"pong ^ ^ ^ yep yep nope A