Skip to content

Commit 5ac34be

Browse files
authored
fix: decomp subtask regex (#218)
1 parent e30afe6 commit 5ac34be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/decompose/prompt_modules/subtask_list/_subtask_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
T = TypeVar("T")
2121

2222
RE_SUBTASK_AND_TAG = re.compile(
23-
r"(.*\S)\s*-\s*Variable\s*:\s*(\w+)", flags=re.IGNORECASE
23+
r"(.*\S)\s*.\s*Variable\s*:\s*(\w+)", flags=re.IGNORECASE
2424
)
2525
RE_FINAL_SUBTASK_LIST = re.compile(
2626
r"<subtask_list>(.+?)</subtask_list>", flags=re.IGNORECASE | re.DOTALL

0 commit comments

Comments
 (0)