There was an error while loading. Please reload this page.
1 parent 135227a commit 24cdb0fCopy full SHA for 24cdb0f
1 file changed
src/deepwork/hooks/evaluate_policies.py
@@ -44,7 +44,7 @@ def extract_promise_tags(text: str) -> set[str]:
44
Set of policy names that have been promised/addressed
45
"""
46
# Match <promise>✓ Policy Name</promise> and extract the policy name
47
- pattern = r'<promise>✓\s*([^<]+)</promise>'
+ pattern = r"<promise>✓\s*([^<]+)</promise>"
48
matches = re.findall(pattern, text, re.IGNORECASE | re.DOTALL)
49
return {m.strip() for m in matches}
50
0 commit comments