From 2c8b4ba157c082e298f71c45f5f8c8b50ff7e97f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 25 Apr 2014 12:12:18 +0200 Subject: add ^ --- titlebot/titlebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titlebot/titlebot.py b/titlebot/titlebot.py index d04789c..f85e69f 100644 --- a/titlebot/titlebot.py +++ b/titlebot/titlebot.py @@ -36,7 +36,7 @@ def default_command(cmd): def dot_command(cmd): return { 'capname': cmd, - 'pattern': '\\.' + cmd + '\\s*(?:\\s+(?P.*))?$', + 'pattern': '^\\.' + cmd + '\\s*(?:\\s+(?P.*))?$', 'argv': [ 'titlebot/commands/' + cmd ] } public_commands = [ -- cgit v1.2.3