From 3f212dc45158b431276a7cbad8a441a09aa86557 Mon Sep 17 00:00:00 2001 From: jomo Date: Thu, 10 Jul 2014 23:06:45 +0200 Subject: [PATCH] fix literal '.' in regex, fixes --- abot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abot.py b/abot.py index e4d0354..94ca85d 100644 --- a/abot.py +++ b/abot.py @@ -7,7 +7,7 @@ faq_regex = [ # ranks "(how.*? (get|be(come)?|)|who is|are you).*? (%s)|who owns.* server" % rank_regex, # WE - "(can|how|why).*? (have|haz|use|get|doesn|can'?t).*? (WorldEdit|WE|W.E.)", + "(can|how|why).*? (have|haz|use|get|doesn|can'?t).*? (WorldEdit|WE\\b|W\\.E\\.\\b)", # clearing plot "((why|how).*? (do|can)|how to).*?( /?p clear| clear.*? plot)", # add someone to a plot, claim plot