This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author glchapman
Recipients
Date 2003-04-22.18:46:19
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=86307

In thinking further, I realized that positive assertions are also 
affected by the second problem.  E.g.:

>>> re.match('(a)(?:(?=(b)*)c)*', 'abb').groups()
('b', None)

The problem here is that a successful match in an assertion 
can leave marks at the top of the mark stack which then get 
popped in the wrong place.  Attaching a new patch which 
should catch this problem for both kinds of assertions (and 
which also should "unmark" groups in negative assertions).
History
Date User Action Args
2007-08-23 14:12:38adminlinkissue725149 messages
2007-08-23 14:12:38admincreate