Paul
Tue 19th Aug '03, 5:20pm
Hi,
There are two issues with the highlight text system in vB 2 and 3. While both produce slightly different results, vB3 does a much better job at handling it (although obviously not perfect).
Issue 1:
The highlight words variable that displays appended to the links on the search results page does not have urlencode applied. This occurs on both vB2 and vB3.
Issue 2:
Wildcard matching is flawed, moreso in vB2. Rather than describe the problems with the regex, I'll demonstrate by example:
Post the following text:
something about reputation.
something about reputation
something about reputatasdfasdf.,mdsflkja;...
something about reputa asdfasdf.
something about reputaregex.
Search for reputa*
In vB2, only the second line is highlighted. In vB3, all but the third line are highlighted.
* should match zero characters or more
? should match a single character
Best wishes,
Paul
There are two issues with the highlight text system in vB 2 and 3. While both produce slightly different results, vB3 does a much better job at handling it (although obviously not perfect).
Issue 1:
The highlight words variable that displays appended to the links on the search results page does not have urlencode applied. This occurs on both vB2 and vB3.
Issue 2:
Wildcard matching is flawed, moreso in vB2. Rather than describe the problems with the regex, I'll demonstrate by example:
Post the following text:
something about reputation.
something about reputation
something about reputatasdfasdf.,mdsflkja;...
something about reputa asdfasdf.
something about reputaregex.
Search for reputa*
In vB2, only the second line is highlighted. In vB3, all but the third line are highlighted.
* should match zero characters or more
? should match a single character
Best wishes,
Paul