[Spambayes-checkins] spambayes/spambayes message.py,1.15,1.16
Tim Stone - Four Stones Expressions
tim at fourstonesExpressions.com
Mon Apr 21 17:19:24 EDT 2003
4/21/2003 4:16:39 PM, "Skip Montanaro" <montanaro at users.sourceforge.net>
wrote:
>Update of /cvsroot/spambayes/spambayes/spambayes
>In directory sc8-pr-cvs1:/tmp/cvs-serv16117
>
>Modified Files:
> message.py
>Log Message:
>Confirmed on c.l.py with Tim Peters that the original re was more complex
>than necessary. This should be a more readable regex.
> """
>! return re.sub(r'\r\n|\r|\n', '\r\n', data)
I think this one is even too complex. '\r\n?|\n' does the same thing... ;)
c'est moi - TimS
http://www.fourstonesExpressions.com
http://wecanstopspam.org
There are 10 kinds of people in the world:
those who understand binary,
and those who don't.
More information about the Spambayes-checkins
mailing list