{"api":"v1","generated_at":"2026-09-15T23:43:27.970Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/402utils-com-v1-regex-test-3e379b","pinned_page":"https://tollindex.com/e/402utils-com-v1-regex-test-3e379b/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"402utils-com-v1-regex-test-3e379b","canonical_url":"https://402utils.com/v1/regex-test","resource":"https://402utils.com/v1/regex-test","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Test a regex against one or many inputs, safely. Send {pattern, flags?, input|inputs[], mode?}: 'match' returns the first match + capture groups, 'matchAll' every match, 'replace' the rewritten string (needs {replacement}). A mandatory ReDoS guard statically rejects catastrophic patterns (nested quantifiers, `.*.*$`, backrefs) BEFORE running — on Workers no timeout can stop a runaway regex. For agents that generate and dry-run regexes.","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-08-24T00:46:14.245Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"regex test","category":"inference","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-24T00:46:14.114Z"},"validation":{"latest":{"observed_at":"2026-09-15T04:31:10.009Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":4,"ratio":0.8},{"days":30,"observed":5,"passed":4,"ratio":0.8},{"days":90,"observed":5,"passed":4,"ratio":0.8}],"history_90d":[{"observed_at":"2026-09-15T04:31:10.009Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T04:27:38.557Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T04:26:22.916Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T06:42:01.252Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":true},{"observed_at":"2026-09-11T10:13:49.571Z","state":"fail","failed_checks":["endpoint_reachable"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","page":"https://tollindex.com/seller/0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","endpoints":16,"hosts":2},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xc55A2D530b53CBaD1001e4AfD4720B7E71f9C291","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":60}],"quality":{"lastCalledAt":"2026-08-24T00:46:14.114Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://402utils.com/v1/regex-test","extensions":{"bazaar":{"info":{"input":{"body":{"mode":"match","input":"date: 2026-07-06","pattern":"(\\d{4})-(\\d{2})-(\\d{2})"},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"mode":"match","results":[{"index":6,"match":"2026-07-06","groups":["2026","07","06"],"matched":true}]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["pattern"],"properties":{"mode":{"enum":["match","matchAll","replace"],"type":"string","default":"match","description":"match | matchAll | replace."},"flags":{"type":"string","description":"Any of gimsuyd (g added automatically for matchAll)."},"input":{"type":"string","description":"A single input string (≤ 10000 chars)."},"inputs":{"type":"array","items":{"type":"string"},"maxItems":50,"description":"Multiple input strings."},"pattern":{"type":"string","description":"The regular expression source (no delimiters)."},"replacement":{"type":"string","description":"Replacement string (with $1, $<name>) — required for mode 'replace'."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["mode","results"],"properties":{"mode":{"enum":["match","matchAll","replace"],"type":"string"},"results":{"type":"array","items":{"type":"object"},"description":"One entry per input (in order). Shape depends on mode."}},"additionalProperties":false}}}}}}},"description":"Test a regex against one or many inputs, safely. Send {pattern, flags?, input|inputs[], mode?}: 'match' returns the first match + capture groups, 'matchAll' every match, 'replace' the rewritten string (needs {replacement}). A mandatory ReDoS guard statically rejects catastrophic patterns (nested quantifiers, `.*.*$`, backrefs) BEFORE running — on Workers no timeout can stop a runaway regex. For agents that generate and dry-run regexes.","lastUpdated":"2026-08-24T00:46:14.245Z","x402Version":2}]}}