regex_regex_findall_with_positions
Find all regex matches in a string with their start and end positions, capture groups, and named groups. Enables precise pattern-based extraction and analysis.
Instructions
[regex] Return all matches with their start/end positions and groups. Returns list of {match, start, end, groups, named_groups}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>",
"text": "<text>"
},
"name": "regex_regex_findall_with_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| text | Yes | ||
| flags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |