diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/git_webhooks/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py index 7dce8145..4b3e31ad 100644 --- a/modules/git_webhooks/__init__.py +++ b/modules/git_webhooks/__init__.py @@ -131,7 +131,7 @@ class Module(ModuleManager.BaseModule): # will fire indefininitely. continue - regex = re.compile(r"(.)\b(%s)(%s)" % ( + regex = re.compile(r"([0-9]|\W)(%s)(%s)" % ( re.escape(user.nickname[0]), re.escape(user.nickname[1:])), re.I) s = regex.sub("\\1\\2\u200c\\3", s) |
