perf: 允许行级别锚点匹配以保持一致性

This commit is contained in:
Raven95676
2025-04-16 22:13:38 +08:00
parent 0a02441b75
commit 1ee4685d5d
@@ -151,7 +151,9 @@ class ResultDecorateStage(Stage):
# 不分段回复
new_chain.append(comp)
continue
split_response = re.findall(self.regex, comp.text, re.DOTALL)
split_response = re.findall(
self.regex, comp.text, re.DOTALL | re.MULTILINE
)
if not split_response:
new_chain.append(comp)
continue