mirror of https://github.com/zulip/zulip.git
Don't compile an unused copy of the find_mentions regex.
(imported from commit 67e4cd89a5ed038e0e5a7459d5f88aa8d04b21d7)
This commit is contained in:
parent
ce131a7d69
commit
9d8765ac24
|
@ -6,7 +6,6 @@ import zephyr.models
|
|||
# Match multi-word string between @** ** or match any one-word
|
||||
# sequences after @
|
||||
find_mentions = r'(?<![^\s\'\"\(,:<])@(?:\*\*([^\*]+)\*\*|(\w+))'
|
||||
find_mentions_re = re.compile(find_mentions)
|
||||
|
||||
wildcards = ['all', 'everyone']
|
||||
|
||||
|
|
Loading…
Reference in New Issue