summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author5an7y <[email protected]>2025-07-03 16:37:25 -0700
committer5an7y <[email protected]>2025-07-03 16:37:25 -0700
commite48795a8b2636a44689a02d8664050678f6ae256 (patch)
tree4b17bf85ac2d1c1b5583daab6c2d8c99dd559f72
parent268a017fb1bd448f463d2de527d46db87de8b3a4 (diff)
Correct regex expression
-rw-r--r--.github/workflows/tag-codeowner-on-issue.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/tag-codeowner-on-issue.yml b/.github/workflows/tag-codeowner-on-issue.yml
index 2e87273c..088500d7 100644
--- a/.github/workflows/tag-codeowner-on-issue.yml
+++ b/.github/workflows/tag-codeowner-on-issue.yml
@@ -34,7 +34,7 @@ jobs:
selected_path = None
# Try to extract the selected path from the issue body
- match = re.search(r'### Which is the area where the sample lives\\?\\n(.+)', issue_body)
+ match = re.search(r'### Which is the area where the sample lives\?\s*\n(.+)', issue_body, re.MULTILINE)
if match:
selected_path = match.group(1).strip()