> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# RegexMatch - ComfyUI Built-in Node Documentation

> Complete documentation for the RegexMatch node in ComfyUI. Learn its inputs, outputs, parameters and usage.

RegexMatch 节点用于检查文本字符串是否包含与给定正则表达式模式匹配的内容。它会搜索输入字符串，并返回一个简单的"是/否"结果，指示该模式是否在文本中的任何位置被找到。您可以通过启用不区分大小写匹配或多行模式等选项来调整搜索方式。

## 输入

| 参数        | 描述                            | 数据类型    | 是否必填 | 范围 |
| --------- | ----------------------------- | ------- | ---- | -- |
| `字符串`     | 要搜索匹配项的文本字符串                  | STRING  | 是    | -  |
| `正则表达式模式` | 用于与字符串匹配的正则表达式模式              | STRING  | 是    | -  |
| `忽略大小写`   | 匹配时是否忽略大小写（默认：True）           | BOOLEAN | 否    | -  |
| `多行模式`    | 是否启用正则匹配的多行模式（默认：False）       | BOOLEAN | 否    | -  |
| `点号匹配所有`  | 是否启用正则匹配的 dotall 模式（默认：False） | BOOLEAN | 否    | -  |

## 输出

| 输出名称   | 描述                                        | 数据类型    |
| ------ | ----------------------------------------- | ------- |
| `匹配结果` | 如果正则表达式模式匹配输入字符串的任何部分，则返回 True，否则返回 False | BOOLEAN |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/RegexMatch/zh.md)

***

**Source fingerprint (SHA-256):** `b0ee05277edd8600d880051aa33a940c01abc170553515ab02960f25b1aec2be`
