{"uid":"cap_u3TUfZBIKZ2KPupR1w0WY","slug":"regex-explainer-plain-english-690bea7d","name":"Regex Explainer (Plain English)","description":"Explain a regex in plain English. Paste the regex in message content.","url":"https://dev-5090-box.tailfb4c1f.ts.net/v1/regex-explain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object"},"choices":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZxuNAYF6Bqo_7Y1guMRCz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Takes a raw regex pattern and returns a plain-English explanation of what it matches and how it works.","exampleAgentPrompt":"Can you explain what this regex does in plain English: ^(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$?","exampleUseCases":[{"title":"Demystifying a password validation regex","prompt":"I found this regex in our codebase and have no idea what it enforces: ^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$ — can you explain it in plain English?"},{"title":"Understanding an email extraction pattern","prompt":"What does this regex actually match? I need to know before adding it to our parser: [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}"},{"title":"Reviewing a URL validation rule","prompt":"Our QA team flagged this regex as possibly too permissive — can you explain exactly what strings it would accept: https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&\\/\\/=]*)"}],"resultDescription":"A plain-English narrative explaining what the regex pattern matches, how each component or group works, and what inputs would or would not satisfy it.","failureModes":["Empty or missing regex pattern in message content returns an error or unhelpful response","Extremely complex or malformed regex may produce an incomplete explanation","Network timeout if the local RTX 5090 inference server is under load","Non-regex input (e.g. plain text) may be processed but produce a nonsensical explanation"],"whenToPreferThis":"Choose this endpoint when a developer or agent needs a human-readable explanation of an existing regex pattern — especially for onboarding, code review, or debugging. Prefer it over general-purpose LLM chat when you want a focused, cost-effective single-call explanation without conversational overhead. Ideal when you already have the regex string and just need it decoded.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:09.561Z","isFirstParty":false,"canonicalSlug":"regex-explainer-plain-english-690bea7d"}