regex_test
Regex matches with groups, count and a backtracking-risk heuristic Free check: https://sigtap-outreach-api.sigtap.workers.dev/preview/tools/regex = 200 demo sample, no wallet. Paid call: 402 challenge -> sign -> retry = settled on-chain. ($0.001 USDC on Base, x402)
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_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search | |
| flags | No | Regex flags (subset of dgimsuy) | |
| pattern | Yes | Regular expression |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| matches | Yes | ||
| pattern | Yes | ||
| backtracking_risk | No |