Nodes/comfy-ovum/re.Match[index] (Regex Match Select)
ComfyUI Node

re.Match[index] (Regex Match Select)

Select a specific match from a list of RE_MATCH_T objects by index. This utility node helps extract individual matches from operations that return multiple matches, such as finditer(). Index is clamped to valid range.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
re.Match[index] (Regex Match Select)
  • matches
  • match
index0
Categoryovum/regex

Inputs (2)

NameTypeDefaultDescription
matchesRE_MATCHThe list of match objects.
indexINT0The index of the match to select from the list.

Outputs (1)

NameTypeDescription
matchRE_MATCH