From be09c7f701ee488f5aee86bff402f4f7b4b673ed Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 13 Oct 2014 20:26:06 +0200 Subject: [PATCH] =?utf8?q?Am=C3=A9lioration=20de=20la=20regexp=20buffer=20?= =?utf8?q?fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index df29c99..8b424f1 100644 --- a/config.py +++ b/config.py @@ -84,7 +84,7 @@ amplifier_regexp = u"(une? (?:(?:putain|enfoiré) d(?:e |'))*|)(?:| super )(?: ( gros = [u"gros", u"énorme", u"lourd"] #: config spéciale-iota -buffer_fail_regexp = u'^\s*(.|§|!|/|/|:|)(w|b|win|window|buffer) [0-9]+$' +buffer_fail_regexp = u'(^\s*(\.|\\|§|!|/|\||:|)(w|b|win|window|buffer) [0-9]+$|^(\|§|!|/|\\|:|)b [A-Za-z-]+$)' buffer_fail_answers = [u"Pas de chance !", u"Révisez vos classiques !", u"Encore un effort, je sais que vous pouvez le faire. ;)", u"Where did you learn to type?"] -- 2.39.2