Files
cpython/Modules
Gustavo Niemeyer 4e7be06a65 Fixed bug #470582, using a modified version of patch #527371,
from Greg Chapman.

* Modules/_sre.c
  (lastmark_restore): New function, implementing algorithm to restore
  a state to a given lastmark. In addition to the similar algorithm used
  in a few places of SRE_MATCH, restore lastindex when restoring lastmark.
  (SRE_MATCH): Replace lastmark inline restoring by lastmark_restore(),
  function. Also include it where missing. In SRE_OP_MARK, set lastindex
  only if i > lastmark.

* Lib/test/re_tests.py
* Lib/test/test_sre.py
  Included regression tests for the fixed bugs.

* Misc/NEWS
  Mention fixes.
2002-11-06 14:06:53 +00:00
..
2002-10-30 21:08:34 +00:00
2002-10-01 18:50:56 +00:00
2002-07-17 16:30:39 +00:00
2002-11-05 18:41:53 +00:00
2002-07-17 16:30:39 +00:00
2001-12-04 01:11:32 +00:00
2002-07-17 16:30:39 +00:00
2002-09-17 09:34:06 +00:00
2002-08-07 16:21:51 +00:00
2002-10-30 21:08:34 +00:00
2002-07-17 16:30:39 +00:00
2002-10-18 16:11:54 +00:00