From bf91f657cd01472163abe8c3d968cd6418ffee52 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Sun, 5 Nov 2023 10:25:13 +0100 Subject: [PATCH] Fix regex for username mentions Signed-off-by: Mattia Verga --- bodhi-server/bodhi/server/__init__.py | 2 +- news/5453.bug | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/5453.bug diff --git a/bodhi-server/bodhi/server/__init__.py b/bodhi-server/bodhi/server/__init__.py index 77d20c9b9a..5b76da8e5d 100644 --- a/bodhi-server/bodhi/server/__init__.py +++ b/bodhi-server/bodhi/server/__init__.py @@ -41,7 +41,7 @@ # This is a regular expression used to match username mentions in comments. -MENTION_RE = r'(?