[CF-Devel] bug in the keyword-matching code
Mark Wedel
mwedel at scruz.net
Tue Apr 10 00:17:26 CDT 2001
Andreas Vogl wrote:
>
>
When I put a phrase *before* the keyword, there is no
>
longer a match. This is a bad bug!
>
>
Example: The keyword is "open", in a magic_ear.
>
>
- When I say "open", there is a match.
>
- When I say "open the gate", there is a match.
>
- When I say "dude open", there is NO match.
Problem is no one really knows all the working of that code (the matching code,
which is really in regex I think).
This is not something I want to look into right now. I think the entire
conversation stuff needs to get redone at some point.
I think the regex currently in crossfire is actually fairly out of date, and
certainly has a few custom hacks. It should probably get redone/updated, but I
don't really want to touch that right now - if even some obscure bug in new
code, that could really break a fair number of maps.
More information about the crossfire
mailing list