Nodes/comfy-ovum/re.compile flags (Regex Flags)
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.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
re.compile flags (Regex Flags)
    • flags
    IGNORECASEtrue
    MULTILINEfalse
    DOTALLfalse
    VERBOSEfalse
    ASCIIfalse
    LOCALEfalse
    UNICODEfalse
    DEBUGfalse
    Categoryovum/regex

    Inputs (8)

    NameTypeDefaultDescription
    IGNORECASEBOOLEANtruePerform case-insensitive matching.
    MULTILINEBOOLEANfalseMake `^` and `$` match at the beginning and end of each line.
    DOTALLBOOLEANfalseMake `.` match any character, including a newline.
    VERBOSEBOOLEANfalseAllow whitespace and comments in the pattern.
    ASCIIBOOLEANfalseMake `\w`, `\W`, `\b`, `\B`, `\s`, `\S` perform ASCII-only matching.
    LOCALEBOOLEANfalseMake `\w`, `\W`, `\b`, `\B`, `\s`, `\S`, `\d`, `\D` dependent on the current locale. (discouraged)
    UNICODEBOOLEANfalseMake `\w`, `\W`, `\b`, `\B`, `\s`, `\S`, `\d`, `\D` dependent on the Unicode character properties database.
    DEBUGBOOLEANfalseDisplay debug information about compiled expression.

    Outputs (1)

    NameTypeDescription
    flagsRE_FLAGS