ComfyUI Node
re.compile flags (Regex Flags)
Configure flags for regular expression compilation. These flags modify how the regular expression engine interprets patterns. Common flags include IGNORECASE, MULTILINE, DOTALL, VERBOSE, ASCII, LOCALE, UNICODE, and DEBUG.
re.compile flags (Regex Flags)
- flags
◄IGNORECASEtrue►
◄MULTILINEfalse►
◄DOTALLfalse►
◄VERBOSEfalse►
◄ASCIIfalse►
◄LOCALEfalse►
◄UNICODEfalse►
◄DEBUGfalse►
Categoryovum/regex
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| IGNORECASE | BOOLEAN | true | Perform case-insensitive matching. |
| MULTILINE | BOOLEAN | false | Make `^` and `$` match at the beginning and end of each line. |
| DOTALL | BOOLEAN | false | Make `.` match any character, including a newline. |
| VERBOSE | BOOLEAN | false | Allow whitespace and comments in the pattern. |
| ASCII | BOOLEAN | false | Make `\w`, `\W`, `\b`, `\B`, `\s`, `\S` perform ASCII-only matching. |
| LOCALE | BOOLEAN | false | Make `\w`, `\W`, `\b`, `\B`, `\s`, `\S`, `\d`, `\D` dependent on the current locale. (discouraged) |
| UNICODE | BOOLEAN | false | Make `\w`, `\W`, `\b`, `\B`, `\s`, `\S`, `\d`, `\D` dependent on the Unicode character properties database. |
| DEBUG | BOOLEAN | false | Display debug information about compiled expression. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| flags | RE_FLAGS | — |