Georg Brandl added the comment: There's more to allowing \ at the end of a raw string: if you do that, the raw string will end at the first quote character which is the same as the opening one, so you can't put such a quote character into a raw string anymore. At the moment, you can, by escaping it with a backslash, though the backslash is left in the string.
There are basically two main uses for raw strings: Windows path names and regular expressions. The current situation is optimal for the latter: you can put both quote characters in a raw string, and the backslash needed to quote the "string quote" being retained is not a problem. ---------- nosy: +georg.brandl __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1271> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com