Stephen J. Turnbull writes:
>>>>> "bjacob" == bjacob
<bjacob(a)ca.metsci.com> writes:
bjacob> Stephen J. Turnbull writes:
>> >>>>> "bjacob" == bjacob
<bjacob(a)ca.metsci.com> writes:
bjacob> Therefore I think that match-string should return nil
>> It does, in 21.4.10 and later. Thanks for your report, please
>> upgrade.
bjacob> It returns "b" in xemacs-21.5.7 and xemacs-21.5.8.
"Later" refers to _calendar time_. From the trunk ChangeLog:
------------------------------------------------------------------------
2002-09-09 Stephen J. Turnbull <stephen(a)xemacs.org>
* search.c (clear_unused_search_regs): New static function.
(search_buffer):
(simple_search):
(boyer_moore):
Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
Minor clarifications in comments.
* regex.c (re_match_2_internal): Ensure no stale submatches.
2002-08-30 Steve Youngs <youngs(a)xemacs.org>
* XEmacs 21.5.9 "brussels sprouts" is released.
------------------------------------------------------------------------
All OK now?
I'm sorry about my misunderstanding about "Later". Now that I
understand, I installed version 21.4.10, but I still see the bug.
The log comment above apparently refers to the bug report at
http://list-archive.xemacs.org/xemacs-beta/200209/msg00072.html.
I reproduced Stjernholm's bug in version 21.1.12, but I cannot
reproduce it in 21.4.10. So apparently, Stjernholm's bug was fixed
but that fix did not also fix the bug demonstrated by my procedure.