[Pybot-commits] CVS: pybot/pybot/modules social.py,1.3,1.4
Brought to you by:
niemeyer
|
From: Gustavo N. <nie...@us...> - 2001-12-04 16:11:00
|
Update of /cvsroot/pybot/pybot/pybot/modules
In directory usw-pr-cvs1:/tmp/cvs-serv13959
Modified Files:
social.py
Log Message:
re5 was matching the null string as well. Fixed.
Index: social.py
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot/modules/social.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** social.py 2001/12/04 00:57:38 1.3
--- social.py 2001/12/04 16:10:57 1.4
***************
*** 40,44 ****
# Match 'pybot?'
! self.re5 = re.compile(r'!*?[?!]*$', re.I)
# Match 'never mind [!|.]'
--- 40,44 ----
# Match 'pybot?'
! self.re5 = re.compile(r'!*\?[?!]*$', re.I)
# Match 'never mind [!|.]'
|