[htdig3-dev] Re: [htdig3-dev] Patch 1 for StringMatch bugs


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Tue, 19 Jan 1999 15:31:57 -0600 (CST)


* List: htdig3-dev@sob.htdig.org

According to Hans-Peter Nilsson:
> When putting a "found" note in the state for the last "ad" in
> the pattern "adcf|aded|ad" it is misplaced and clobbers the
> last "d" in "aded" so it falsely reports matching "ad" for
> e.g. "adedf" (but still with length 4).
> However, this bug also causes "ad" *not* to be found in smaller
> strings not containing "aded", like "adg".
> This only happens if you put smaller, ambiguating, matches
> after larger matches in a pattern.

Ah! This seems like exactly the sort of problem Benoit Majeau reported
back on Dec. 9, in his "StringMatch bug?" message.

          http://www.htdig.org/mail/1998-12/0160.html

Good work!

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930



This archive was generated by hypermail 2.0b3 on Thu Feb 04 1999 - 22:24:19 PST