Nodes/comfy-ovum/re.fullmatch (Regex FullMatch)
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.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
re.fullmatch (Regex FullMatch)
  • flags
  • match
pattern
string
string_in
Categoryovum/regex

Inputs (4)

NameTypeDefaultDescription
patternSTRINGThe regular expression pattern.
stringSTRINGThe string to search. Used if `string_in` is not connected.
string_inoptSTRINGInput string or list of strings. Overrides `string` widget if connected.
flagsoptRE_FLAGS2Regex compilation flags.

Outputs (1)

NameTypeDescription
matchRE_MATCH