[issue30688] support named Unicode escapes (\N{name}) in re

Jonathan Eunice report at bugs.python.org
Sat Jun 17 03:38:56 EDT 2017


New submission from Jonathan Eunice:

The re module specially handles Unicode escapes (\uXXXX and \UXXXXXXXX) so that even raw strings (r'...') have symbolic Unicode characters. But it has not supported named Unicode escapes such as r'\N{EM DASH}', making the escapes for string literals and the escapes for regular expressions asymmetric

----------
components: Library (Lib)
messages: 296234
nosy: jonathaneunice
priority: normal
severity: normal
status: open
title: support named Unicode escapes (\N{name}) in re
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30688>
_______________________________________


More information about the Python-bugs-list mailing list