Message109019
The re module is buggy is rare cases; see attached example script.
The bug is caused by the macros LASTMARK_SAVE and LASTMARK_RESTORE which are sometimes used without the extra code that does if (state->repeat) {mark_save()/mark_restore()}.
The bug appears by mis-reporting the position of groups within a repeated match (with * or +), notably the position of some groups that matched in older repetitions but (after some backtracking) not in newer ones. |
|
Date |
User |
Action |
Args |
2010-06-30 21:18:58 | arigo | set | recipients:
+ arigo |
2010-06-30 21:18:58 | arigo | set | messageid: <1277932738.21.0.537266945796.issue9134@psf.upfronthosting.co.za> |
2010-06-30 21:18:56 | arigo | link | issue9134 messages |
2010-06-30 21:18:56 | arigo | create | |
|