From 1e5ec3f19e35100724e8e6ce59fd3f7c928cd21f Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 2 May 2012 18:54:13 +0200 Subject: [PATCH] un apostrophe, une --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 51304ed..14769c3 100755 --- a/basile.py +++ b/basile.py @@ -335,7 +335,7 @@ class Basile(ircbot.SingleServerIRCBot): 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"($|,|;|\.| ).*" + reg=u".*(^| |')"+debuts+u" "+adj_reg+u"($|,|;|\.| ).*" matched=re.match(reg,message) if matched: # il faut repasser l'adjectif au féminin singulier -- 2.39.2