Animica x402 Directory

Directory / regex.openverbs.com

regex.openverbs.com/v1/test

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.

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X GET 'https://regex.openverbs.com/v1/test'

# -> HTTP/1.1 402 Payment Required
#    the response carries the price, asset and pay-to address.

# 2. Pay and retry with any x402 client:
npx x402-fetch 'https://regex.openverbs.com/v1/test'

Endpoint: https://regex.openverbs.com/v1/test. Operated by regex.openverbs.com, not by Animica. Price and availability were correct at the last probe on 2026-10-01 and are set by the operator, who may change them.

Other endpoints on regex.openverbs.com

regex.openverbs.com/v1/match

Find the first match (or all matches with all=true) of a RE2 pattern, returning each match's text, start/end offsets, and numbered and named capture groups. No …

GET · $0.004

regex.openverbs.com/v1/replace

Replace matches of a RE2 pattern with a replacement string. Replaces all matches by default (set all=false for first-only). The replacement may reference captur…

GET · $0.004

regex.openverbs.com/v1/split

Split the input into parts on each match of a RE2 pattern. An optional limit caps the number of parts (0 = unlimited). Returns the parts array and its count.

GET · $0.004

All 4 endpoints on regex.openverbs.com →