[Python-Dev] recognizing \u escapes in regular expressions

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 16 Jun 2001 00:17:49 +0200


> should I close the bug report, or turn it into a feature request?

I think the bug report can be closed. Myself, I found it sufficient
that you can write normal \u escapes in strings, in particular as you
can also use them in raw strings:

>>> ur"Ha\u006Clo"
u'Hallo'

Perhaps not very intuitive, and perhaps even a bug (how do you put a
backslash in front of a "u" in a raw unicode string), but useful in
this context.

Regards,
Martin