diff --git a/reflex_core/aws_rule_interface.py b/reflex_core/aws_rule_interface.py index 37379d4..35c4f26 100644 --- a/reflex_core/aws_rule_interface.py +++ b/reflex_core/aws_rule_interface.py @@ -320,7 +320,7 @@ def get_remediation_message_subject(self): str: The subject to use in notifications. """ subject = self.__class__.__name__ - subject_split = re.findall(r"[A-Z](?:[a-z]+|[A-Z]*(?=[A-Z]|$))", subject) + subject_split = re.findall(r"[0-9A-Z](?:[0-9a-z]+|[0-9A-Z]*(?=[0-9A-Z]|$))", subject) fixed_subject = " ".join(subject_split) return f"The Reflex Rule {fixed_subject} was triggered."