]> gitweb.pimeys.fr Git - bots/parrot.git/blobdiff - config.py
On ne retient pas les trailing spaces d'un author
[bots/parrot.git] / config.py
index c42357e6f9ce1cb872f42630483433b36c3f0193..ae88a9190929196e5f2b26d1ecc5583e60d20f9f 100644 (file)
--- 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<content>.*?)\s*("|»|') ?~ ?(?P<author>.*)"""
+quote_regexp = ur"""\s*("|«|')\s*(?P<content>.*?)\s*("|»|') ?~ ?(?P<author>.*?)\s*$"""
 
 #: Template pour afficher une quote
 quote_template = u"« %(content)s » ~ %(author)s"