Masha Katsman added the comment:
Updating the patch with the test. The test checks that the re exception is
thrown in case of the (?P=) and (?P<>) expressions.
It used to raise an Index exception. My only question is, the exception we
raise now says, there invalid characters in the grou
Masha Katsman added the comment:
The problem with the above expression is that it does not specify a group name.
The expression itself is not right. So, it blows up when it tries to parse the
name. I put the check for the empty name before any processing is done.
--
Added file: http
Masha Katsman added the comment:
I am working on the patch. The fix is ready. Will be delivered shortly.
It is also broken when I specify (?P<>) pattern
--
nosy: +mashayk
___
Python tracker
<http://bugs.python.org/i