Message15566
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).
|
|
Date |
User |
Action |
Args |
2007-08-23 14:12:38 | admin | link | issue725149 messages |
2007-08-23 14:12:38 | admin | create | |
|