77trust / 100
Test
by Test for a match in Productivity & SaaS
x402 APIPassing, checked 2 h ago
Test whether a RE2 pattern matches anywhere in the input. Returns { matched }. RE2 guarantees linear-time evaluation, so this is safe against catastrophic backtracking. An invalid pattern is a clean 400; no match is a successful 200.
POST https://regex.openverbs.com/v1/test
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 556 ms typical, 683 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://regex.openverbs.com/v1/test" \
-H "content-type: application/json" \
-d '{"flags":"i","input":"The cat sat on the mat.","pattern":"\\bcat\\b"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fregex.openverbs.com%2Fv1%2Ftest
const res = await pay("https://regex.openverbs.com/v1/test", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"flags":"i","input":"The cat sat on the mat.","pattern":"\\bcat\\b"}),
});
console.log(await res.json());Example input
{
"flags": "i",
"input": "The cat sat on the mat.",
"pattern": "\\bcat\\b"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 494 ms | $0.004 |
| 5 h ago | Passed | 402 | 547 ms | $0.004 |
| 10 h ago | Passed | 402 | 852 ms | $0.004 |
| 13 h ago | Passed | 402 | 683 ms | $0.004 |
| 17 h ago | Passed | 402 | 574 ms | $0.004 |
| 20 h ago | Passed | 402 | 556 ms | $0.004 |
| 23 h ago | Passed | 402 | 584 ms | $0.004 |
| 29 h ago | Passed | 402 | 552 ms | $0.004 |