← Back to directory

Run a JS regex on text: matches, groups, indexes. Capped input and a time budget...

https://dev-utils.x402tookit.com/regex-test

Overview

Run a JS regex on text: matches, groups, indexes. Capped input and a time budget stops catastrophic backtracking.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Developer Utilities
Source bazaar
Indexed 2026-11-01 23:11:59

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "flags": "g", "pattern": "(?<year>\\d{4})-(\\d{2})", "text": "Released 2026-03, patched 2026-05." }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-21T15:48:33.392Z", "budgetMs": 300, "degraded": false, "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.", "flagsUsed": "g", "matchCount": 2, "matches": [ { "end": 16, "groups": [ "2026", "03" ], "index": 9, "match": "2026-03", "named": { "year": "2026" } }, { "end": 33, "groups": [ "2026", "05" ], "index": 26, "match": "2026-05", "named": { "year": "2026" } } ], "notChecked": [ "other regex dialects (PCRE, Python, Go, RE2 differ from JavaScript)", "performance on inputs longer than the cap", "…1 more" ], "reasons": [], "source": "computed locally (JavaScript RegExp in an isolated worker)", "summary": "2 match(es); first at index 9.", "timedOut": false, "tookMs": 19, "truncated": false, "verdict": "MATCHED" }, "type": "json" }