Regex Test
util_regex_testTest a regex pattern against text, returning matches, capturing groups, and match count.
Instructions
Test a regex pattern against text. Returns matches, groups, and count. Delx Agent Utilities are separate from the free witness protocol and may expose x402 utility pricing.
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": "util_regex_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to test against | |
| flags | No | Optional flags: i=ignorecase, m=multiline, s=dotall | |
| pattern | Yes | Regular expression pattern |