diff --git a/atlasbot/engine/answerer/spine.py b/atlasbot/engine/answerer/spine.py index 3f9c80c..fffb90a 100644 --- a/atlasbot/engine/answerer/spine.py +++ b/atlasbot/engine/answerer/spine.py @@ -143,7 +143,7 @@ def _parse_group_line(line: str) -> dict[str, list[str]]: inner = value[value.find("(") + 1 : value.rfind(")")] nodes = [item.strip() for item in inner.split(",") if item.strip()] if not nodes: - cleaned = re.sub(r"^[0-9]+", "", value).strip() + cleaned = re.sub(r"^\d+", "", value).strip() nodes = [item.strip() for item in cleaned.split(",") if item.strip()] groups[key.strip()] = nodes return groups