diff --git a/.scripts/deleted_rules.py b/.scripts/deleted_rules.py index c7c4d2cc7..382247e27 100644 --- a/.scripts/deleted_rules.py +++ b/.scripts/deleted_rules.py @@ -10,7 +10,7 @@ import panther_analysis_tool.command.bulk_delete as pat_delete import panther_analysis_tool.util as pat_util -diff_pattern = re.compile(r'^-(?:RuleID|PolicyID|QueryName):\s*"?([\w.]+)"?') +diff_pattern = re.compile(r'^-(?:RuleID|PolicyID|QueryName):\s*"?(.+?)["\n]') def get_deleted_ids() -> set[str]: