At 11:09 AM 08/28/02 +0800, Stas Bekman wrote:
>well, I've tested it on the whole thing and guess what... it worked. 
>Though it doesn't get highlighted, but that's probably OK.

Hum, I have a version of the highlighting code somewhere that works with
buzzwords.  PhraseHighlight2.pm -- but I can't remember its status.  I
think it worked....  It's not in cvs.  I'm short on time, but I'll try and
see if that module works.

>Please tell me if the following patch seems to be OK. Mostly the 
>IgnoreFirstChar and IgnoreLastChar that I'm not sure about.

Patch seems fine.


IIRC, for normal process swish basically does:

 split string on white space
 split on wordcharacters
 remove ignroefirst|last chars
 make sure resulting word starts with BeginCharacters and
  ends in EndCharacters

When buzzwords are used it

 split string on white space
 remove ignroefirst|last chars
 check for buzzword?
 
if not continues:
 split on wordcharacters
 remove ignroefirst|last chars
 make sure resulting word starts with BeginCharacters and
  ends in EndCharacters



-- 
Bill Moseley
mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to