X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fparrot.git;a=blobdiff_plain;f=config.py;h=eb2999b031acc7de6da06942b1804a74f836dcd8;hp=6ec6aa1c7ac371f6be9c5c8789cca942eb29098b;hb=dfb69bcfb5c43d212e78446b09b5a4dcf222eb15;hpb=ed0fde998214ef99e6c77fc9be5a51b165e98d53 diff --git a/config.py b/config.py index 6ec6aa1..eb2999b 100644 --- a/config.py +++ b/config.py @@ -128,7 +128,7 @@ helpmsg_overops = u" SAY DO STAY NOSTAY OPS OVEROPS KICK DIE CRASH RESTORE" blacklisted_masks = [("Flo!*@*", [])] #: Regexp pour le lieu et le quoter -quote_optionnal_fields = ur"(?:(?:\|\s*(?P[^|]+?)\s*)?\|\s*(?P[^|]+?)?\s*)?" +quote_optionnal_fields = ur"(?:\|\s*(?P[^|]+?)\s*(?:\|\s*(?P[^|]+?)\s*)?)?" #: Regexp utilisée pour parser des quotes quote_regexp = ur"""\s*(?:"|«|')\s*(?P.+?)\s*(?:"|»|')\s*~\s*(?P[^|]+?)\s*%s(?:$|\n)""" % (quote_optionnal_fields,)