ComfyUI Node
re.fullmatch (Regex FullMatch)
re.fullmatch(pattern, string, flags=0) If the whole string[s] matches the regular expression pattern, return a corresponding RE_MATCH_T. Return None if the string does not match the pattern; this is different from a zero-length match.
re.fullmatch (Regex FullMatch)
- flags
- match
◄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 |
|---|---|---|
| match | RE_MATCH | — |