{"name":"regex-from-prompt","description":"Regex generator / NL to regex / pattern builder. PCRE / JavaScript / Python / Go / RE2. Returns pattern + flags + explanation + 3-6 test examples. Live-runs JS regex on sample_text.","price":"$0.01","method":"POST","input_schema":{"properties":{"prompt":{"type":"string"},"flavor":{"type":"string","enum":["pcre","javascript","python","go","re2"]},"sample_text":{"type":"string"},"flags":{"type":"string"}},"required":["prompt"]},"input_example":{"prompt":"match a US phone number with optional country code","flavor":"javascript"},"output_example":{"pattern":"(\\+?1\\s?)?\\(?\\d{3}\\)?[\\s-]?\\d{3}[\\s-]?\\d{4}","flags":"g"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}