[cvs] bogofilter lexer.l,1.4,1.5
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2002-10-04 11:09:32
|
Update of /cvsroot/bogofilter/bogofilter In directory usw-pr-cvs1:/tmp/cvs-serv9977 Modified Files: lexer.l Log Message: Made the TOKEN recognition pattern a bit more thorough in excluding carriage returns. Index: lexer.l =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/lexer.l,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lexer.l 3 Oct 2002 17:57:06 -0000 1.4 --- lexer.l 4 Oct 2002 11:09:26 -0000 1.5 *************** *** 2,5 **** --- 2,8 ---- /* * $Log$ + * Revision 1.5 2002/10/04 11:09:26 relson + * Made the TOKEN recognition pattern a bit more thorough in excluding carriage returns. + * * Revision 1.4 2002/10/03 17:57:06 relson * Changed interface to lexer.l as a first step towards adding the advanced *************** *** 327,332 **** {IPADDR} {return(TOKEN);} ! [^[:blank:]\n[:digit:][:punct:]][^][:blank:]<>;=():&%$#@!+|/\\{}^\"?\*,\n[]+[^[:blank:][:punct:]\n\r] {return(TOKEN);} ! . ; \n ; --- 330,334 ---- {IPADDR} {return(TOKEN);} ! [^[:blank:]\n\r[:digit:][:punct:]][^][:blank:]<>;=():&%$#@!+|/\\{}^\"?\*,\n\r[]+[^[:blank:][:punct:]\n\r] {return(TOKEN);} . ; \n ; |