[Python-Dev] \u and \U escapes in raw unicode string literals (original) (raw)
Georg Brandl g.brandl at gmx.net
Fri May 11 11:46:57 CEST 2007
- Previous message: [Python-Dev] \u and \U escapes in raw unicode string literals
- Next message: [Python-Dev] \u and \U escapes in raw unicode string literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Georg
- Previous message: [Python-Dev] \u and \U escapes in raw unicode string literals
- Next message: [Python-Dev] \u and \U escapes in raw unicode string literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]