[PATCH] experimenting with new parsing rules

David Relson relson at osagesoftware.com
Tue Sep 16 03:13:14 CEST 2003


On Tue, 16 Sep 2003 03:01:11 +0200
Matthias Andree <matthias.andree at gmx.de> wrote:

> On Mon, 15 Sep 2003, David Relson wrote:
> 
> > As a bit more info, set_tag("header") isn't called until the first
> > '\n' is encountered.  Hence the first line isn't tagged.
> > 
> > Try the following test:
> > 
> > export BOGOTEST=2
> > cat | bogolexer -p <<EOF
> > Head1: word1
> > Head2: word2
> > EOF
> 
> Ah. Worksforme for the second line -- astonishing.  Is this another
> incarnation of the undead "^From " line special casing that happened
> to be too unspecific?

Not at all.  It's a lack of code to set the initial tag state.




More information about the bogofilter-dev mailing list