summaryrefslogtreecommitdiff
path: root/abot.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-10 23:06:45 +0200
committerjomo <github@jomo.tv>2014-07-10 23:06:45 +0200
commitbf0507ee237d03adb61483d5de077f0de4ff8ce4 (patch)
tree98ecd297eeabd1c4eb18eb0ee4eb9fc89e4c3dc9 /abot.py
parent7b742a31524f0d92d60b70279f149e9336af1125 (diff)
fix literal '.' in regex, fixes
Diffstat (limited to 'abot.py')
-rw-r--r--abot.py2
1 files changed, 1 insertions, 1 deletions
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