From 252d8ac3295648c47acef85083fd424461d834ee Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 2 May 2012 18:42:32 +0200 Subject: [PATCH] =?utf8?q?Et=20ta=20m=C3=A8re,=20elle=20est=20innocent(|s|?= =?utf8?q?e|es)=20=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- basile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 3d1febe..51304ed 100755 --- a/basile.py +++ b/basile.py @@ -332,7 +332,8 @@ class Basile(ircbot.SingleServerIRCBot): u"ouvert(|e|s|es)":u"ouverte", u"open":u"open", u"plein(|s|es)":u"pleine", - u"bien plein(|e|s|es)":u"bien pleine"} + u"bien plein(|e|s|es)":u"bien pleine", + u"innocent(|e|s|es)":u"innocente"} adj_reg=u"(?P"+u"|".join(adjectifs.keys())+u")" reg=u".*(^| )"+debuts+u" "+adj_reg+u"($|,|;|\.| ).*" matched=re.match(reg,message) -- 2.39.2