diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index 998cbb2..265c296 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -1571,7 +1571,7 @@ def _allowed_namespaces(summary: dict[str, Any]) -> list[str]: def _find_unknown_nodes(reply: str, allowed: list[str]) -> list[str]: if not reply or not allowed: return [] - pattern = re.compile(r"\b(titan-[0-9a-z]+|node\d+)\b", re.IGNORECASE) + pattern = re.compile(r"\b(titan-[0-9a-z]+|node-?\d+)\b", re.IGNORECASE) found = {m.group(1) for m in pattern.finditer(reply)} if not found: return []