ComfyUI Node
re.finditer (Regex FindIter)
re.finditer(pattern, string, flags=0) Return an iterator over all non-overlapping matches in string[s]. For each match, the iterator returns a RE_MATCH_T. The string is scanned left-to-right, and matches are returned in the order found.
re.finditer (Regex FindIter)
- flags
- matches
◄pattern►
◄string►
◄string_in—►
Categoryovum/regex
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| pattern | STRING | The regular expression pattern. | |
| string | STRING | The string to search. Used if `string_in` is not connected. | |
| string_inopt | STRING | Input string or list of strings. Overrides `string` widget if connected. | |
| flagsopt | RE_FLAGS | 2 | Regex compilation flags. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| matches | RE_MATCH | — |