[Python-Dev] \u and \U escapes in raw unicode string literals

Georg Brandl g.brandl at gmx.net
Fri May 11 11:46:57 CEST 2007

M.-A. Lemburg schrieb:

>> Windows path names are one of the two primary applications of raw
>> strings (the other being regexes).
> IMHO the primary use case are regexps and for those you'd
> definitely want to be able to put Unicode characters into your
> expressions.

Except if sre_parse would recognize \u and \U escapes, just like it
does now with \x escapes.


More information about the Python-Dev mailing list