[Python-Dev] \u and \U escapes in raw unicode string literals (original) (raw)
David Goodger goodger at python.org
Fri May 11 21:59:20 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 ]
Guido van Rossum <guido python.org> writes:
I'd like to hear from anyone who has access to real code that uses \u or \U in a raw unicode string.
Docutils uses it in the docutils.parsers.rst.states module, Body class:
patterns = {
'bullet': ur'[-+*\u2022\u2023\u2043]( +|$)',
...
attribution_pattern = re.compile(ur'(---?(?!-)|\u2014) *(?=[^ \n])')
-- David Goodger <http://python.net/~goodger>
- 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 ]