Bug Fixes. Workflow Engine #81
|
|
@ -158,7 +158,8 @@ def parse_decision_questions(section_text: str) -> Dict[str, str]:
|
||||||
for pattern in patterns:
|
for pattern in patterns:
|
||||||
matches = re.finditer(pattern, section_text, re.MULTILINE | re.IGNORECASE)
|
matches = re.finditer(pattern, section_text, re.MULTILINE | re.IGNORECASE)
|
||||||
for match in matches:
|
for match in matches:
|
||||||
question_type = match.group(1).strip().lower()
|
# Preserve original case for question IDs (e.g., "qAnalyst" not "qanalyst")
|
||||||
|
question_type = match.group(1).strip()
|
||||||
answer = match.group(2).strip()
|
answer = match.group(2).strip()
|
||||||
|
|
||||||
# Entferne Klammern und Whitespace
|
# Entferne Klammern und Whitespace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user