From: Vincent Le Gallic Date: Wed, 26 Feb 2014 23:40:54 +0000 (+0100) Subject: [config] content et author d'une quote non vides X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fparrot.git;a=commitdiff_plain;h=c8e57be05cbfd7ba46d6828b6fe6cb4e810a70fb [config] content et author d'une quote non vides --- diff --git a/config.py b/config.py index 9db32fb..6d49a97 100644 --- a/config.py +++ b/config.py @@ -110,7 +110,7 @@ helpmsg_overops = u" SAY DO STAY NOSTAY OPS OVEROPS KICK DIE CRASH" blacklisted_masks = [("Flo!*@*", [])] #: Regexp utilisée pour parser des quotes -quote_regexp = ur"""\s*("|«|')\s*(?P.*?)\s*("|»|') ?~ ?(?P.*?)\s*$""" +quote_regexp = ur"""\s*("|«|')\s*(?P.+?)\s*("|»|') ?~ ?(?P.+?)\s*$""" #: Template pour afficher une quote quote_template = u"« %(content)s » ~ %(author)s"