From 4651133debeb0c5920206f245fb6c9513de966e1 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 27 Jan 2026 23:01:51 -0300 Subject: [PATCH] atlasbot: fix word boundary detection --- services/comms/scripts/atlasbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/comms/scripts/atlasbot/bot.py b/services/comms/scripts/atlasbot/bot.py index 29f53751..77868f1f 100644 --- a/services/comms/scripts/atlasbot/bot.py +++ b/services/comms/scripts/atlasbot/bot.py @@ -553,7 +553,7 @@ def _has_any(text: str, phrases: tuple[str, ...]) -> bool: if phrase in text: return True else: - if re.search(rf"\\b{re.escape(phrase)}\\b", text): + if re.search(rf"\b{re.escape(phrase)}\b", text): return True return False