regex_regex_search
Find the first regex match in any text and extract matched string, start/end indices, capturing groups, and named groups.
Instructions
[regex] Search anywhere in text for the first match. Returns {matched, match, start, end, groups, named_groups}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| text | Yes | ||
| flags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |