11 Oct
2012
11 Oct
'12
1:38 a.m.
On Wed, Oct 10, 2012 at 3:46 PM, Antoine Pitrou
On Wed, 10 Oct 2012 15:36:08 -0400 Mike Graham
wrote: The literal"\c" should be an error but in practice means "\\c". It's probably too late to make this invalid syntax as it out to be, but I wonder if a warning isn't in order, especially with the theoretical potential of adding new string escapes in the future.
-1. This will make life more difficult with regular expressions (and produce lots of spurious warnings in existing code).
Regards
Antoine.
Regular expressions are difficult if you're remembering which escape sequences exist and are easy if you're using raw string literals. Mike