
Oct. 1, 2007
8:01 p.m.
On Mon, Oct 01, 2007 at 12:53:41PM -0700, Guido van Rossum wrote:
Not in this case. It's more the philosophical distinction -- are raw strings meant primarily to hold regexes or Windows pathnames? These two use cases have opposite requirements for trailing backslash treatment. I know the original use case that caused them to be added to the language is regexes, and that's still the only one I use on a regular basis.
Then just rename them to "regex-strings"; prefix 'r' is stll ok. ;) Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.