diff --git a/comfy_extras/nodes/nodes_regexp.py b/comfy_extras/nodes/nodes_regexp.py index 0c6dba43a..23d95ff75 100644 --- a/comfy_extras/nodes/nodes_regexp.py +++ b/comfy_extras/nodes/nodes_regexp.py @@ -98,7 +98,7 @@ class RegexMatchExpand(CustomNode): CATEGORY = "regular_expressions" FUNCTION = "execute" - RETURN_TYPES = (MATCH_TYPE_NAME,) + RETURN_TYPES = ("STRING",) def execute(self, match: re.Match, template: str = "") -> tuple[str]: return match.expand(template),