Strangeness in lexer?
michael at optusnet.com.au
michael at optusnet.com.au
Thu Aug 7 01:37:21 CEST 2003
Anyone know why the lexer has the '\.*' bit in
the headers?
<INITIAL>^To/:\.* { if (header_line_markup) set_tag("to:"); }
<INITIAL>^From/:\.* { if (header_line_markup) set_tag("from:"); else return TOKEN; }
<INITIAL>^Return-Path/:\.* { if (header_line_markup) set_tag("rtrn:"); else return TOKEN; }
[...]
This seems to say 'lookahead for zero or more dots' which is always true.
????
Very strange.
Michael.
More information about the bogofilter-dev
mailing list