[issue14462] In re's named group the name cannot contain unicode characters

2013-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2fa27a3818a2 by Georg Brandl in branch '3.3': Closes #14462: allow any valid Python identifier in sre group names, as documented. http://hg.python.org/cpython/rev/2fa27a3818a2 -- nosy: +python-dev resolution: -> fixed stage: patch review -

[issue14462] In re's named group the name cannot contain unicode characters

2013-01-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14462] In re's named group the name cannot contain unicode characters

2013-01-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which make re to use for groups the same rule as for Python 3 identifiers. In Python 2 the implementation confirms the documentation. -- keywords: +patch nosy: +serhiy.storchaka stage: needs patch -> patch review versions: +Python 3.4

[issue14462] In re's named group the name cannot contain unicode characters

2012-04-29 Thread Matthew Barnett
Matthew Barnett added the comment: It doesn't work in regex, but it probably should. IMHO, if it's a valid identifier, then it should be allowed. -- ___ Python tracker ___

[issue14462] In re's named group the name cannot contain unicode characters

2012-04-28 Thread Ezio Melotti
Ezio Melotti added the comment: There are two options here: 1. fix the doc; 2. fix the code; Matthew, do you have any opinion on this? Does this work on regex? -- stage: -> needs patch type: behavior -> enhancement versions: +Python 2.7, Python 3.3 _

[issue14462] In re's named group the name cannot contain unicode characters

2012-04-01 Thread py.user
New submission from py.user : http://docs.python.org/py3k/library/re.html "(?P...) Similar to regular parentheses, but the substring matched by the group is accessible within the rest of the regular expression via the symbolic group name name. Group names must be valid Python identifiers,