From: Vincent Le Gallic Date: Thu, 10 May 2012 23:24:02 +0000 (+0200) Subject: fucking espace manquant X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=4459cc85415618591bbeefed2624ea3c14e6da79;p=bots%2Fbasile.git fucking espace manquant --- diff --git a/basile.py b/basile.py index fdefe8d..b881878 100755 --- a/basile.py +++ b/basile.py @@ -231,7 +231,7 @@ def is_tamere(chain): return is_something(chain,config_tamere) def is_action_trigger(chain,pseudo): return is_something(chain,config_action_trigger,avant=u"^", - apres="([a-z]*ment)? %s($|\.| |,|;).*"%(pseudo)) + apres="( [a-z]*ment)? %s($|\.| |,|;).*"%(pseudo)) def is_pan(chain): return re.match(u"^(pan|bim|bang)$",unicode(chain,"utf8").lower().strip())