[Spambayes-checkins] spambayes/spambayes OptionsClass.py, 1.31, 1.32
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Jun 22 12:37:02 CEST 2006
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv32062/spambayes
Modified Files:
OptionsClass.py
Log Message:
Fix bug in regex preventing valid IPs.
Index: OptionsClass.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/OptionsClass.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** OptionsClass.py 6 Jan 2006 08:38:52 -0000 1.31
--- OptionsClass.py 22 Jun 2006 10:36:58 -0000 1.32
***************
*** 845,851 ****
FILE = r"[\S]+"
FILE_WITH_PATH = PATH
! IP_LIST = r"\*|localhost|((\*|[01]?\d\d?|2[04]\d|25[0-5])\.(\*|[01]?\d" \
! r"\d?|2[04]\d|25[0-5])\.(\*|[01]?\d\d?|2[04]\d|25[0-5])\.(\*" \
! r"|[01]?\d\d?|2[04]\d|25[0-5]),?)+"
# IMAP seems to allow any character at all in a folder name,
# but we want to use the comma as a delimiter for lists, so
--- 845,851 ----
FILE = r"[\S]+"
FILE_WITH_PATH = PATH
! IP_LIST = r"\*|localhost|((\*|[01]?\d\d?|2[0-4]\d|25[0-5])\.(\*|[01]?\d" \
! r"\d?|2[0-4]\d|25[0-5])\.(\*|[01]?\d\d?|2[0-4]\d|25[0-5])\.(\*" \
! r"|[01]?\d\d?|2[0-4]\d|25[0-5]),?)+"
# IMAP seems to allow any character at all in a folder name,
# but we want to use the comma as a delimiter for lists, so
More information about the Spambayes-checkins
mailing list