odd missing word in R list

Allyn Fratkin allyn at fratkin.com
Fri Dec 13 17:51:09 CET 2002


> My bogofilter did not include the token "selected" in the R table.  I
> was somewhat astonished, so I pulled cvs as of 1629 UTC today, compiled
> it, ran ./bogofilter -R <file_with_just_this_message -- sure 'nuff, no
> line for "selected."
> 
> Anybody know how come?

"selected" is one of the words that lexer.l purposely ignores.  i think this
came from esr's version, he purposely ignored many words commonly found
in html.  ("selected" can appear in <option> lines).

see lexer.l starting around line 80 for the list of words.  perhaps
this should be documented?
-- 
Allyn Fratkin             allyn at fratkin.com
Escondido, CA             http://www.fratkin.com/





More information about the bogofilter-dev mailing list