diff --git a/sigma/plugins.py b/sigma/plugins.py index df51b8e..d0d3e3f 100644 --- a/sigma/plugins.py +++ b/sigma/plugins.py @@ -250,7 +250,7 @@ def removesuffix(base: str, suffix: str) -> str: identifier = removesuffix(identifier, "Backend") identifier = removesuffix(identifier, "backend") identifier = removesuffix(identifier, "_") - words = re.findall(r"[A-Z](?:[A-Z]*(?![a-z])|[a-z]*)", identifier) + words = re.findall(r"[A-Z](?:[A-Z0-9]*(?![a-z0-9])|[a-z0-9]*)", identifier) if len(words) == 0: return identifier.lower() rebuilt_identifier = "_".join(words).lower()