diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index c0e220a..9f3b8cc 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2913,7 +2913,7 @@ def linkify_text(message, team, channel): .replace('>', '>') .split(' ')) for item in enumerate(message): - targets = re.match('^\s*([@#])([\w.-]+[\w. -])(\W*)', item[1]) + targets = re.match('^\s*([@#])([\w\(\).-]+)(\W*)', item[1], re.UNICODE) if targets and targets.groups()[0] == '@': named = targets.groups() if named[1] in ["group", "channel", "here"]: |