ReDoS Regex Rewrite
ReDoS Regex Rewrite: Same Answers, Linear Time — Rewrites a JavaScript regular expression that can hang on a crafted input (catastrophic backtracking, ReDoS) into one that gives exactly the same yes or no for every text and runs in linear time, answered as JSON with the pattern and flags. Knows the shapes that explode - a quantified group whose inside is quantified too, alternatives under a star that can match the same text, an optional separator between repeats, a counted group of runs, an una…
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.aiskills402.com/v1/skills/redos-regex-rewrite/file
| Category | Code and developer |
|---|---|
| Provider host | api.aiskills402.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-02 | valid payment request | 402 | $0.02 | 345 ms |
| 2026-12-01 | valid payment request | 402 | $0.02 | 341 ms |
| 2026-11-30 | valid payment request | 402 | $0.02 | 324 ms |
| 2026-11-29 | valid payment request | 402 | $0.02 | 324 ms |
| 2026-11-28 | valid payment request | 402 | $0.02 | 319 ms |
| 2026-11-27 | valid payment request | 402 | $0.02 | 316 ms |
| 2026-11-26 | valid payment request | 402 | $0.02 | 330 ms |
| 2026-11-25 | valid payment request | 402 | $0.02 | 317 ms |
| 2026-11-24 | valid payment request | 402 | $0.02 | 327 ms |
| 2026-11-23 | valid payment request | 402 | $0.02 | 324 ms |
| 2026-11-22 | valid payment request | 402 | $0.02 | 329 ms |
| 2026-11-21 | valid payment request | 402 | $0.02 | 329 ms |
| 2026-11-20 | valid payment request | 402 | $0.02 | 355 ms |
| 2026-11-19 | valid payment request | 402 | $0.02 | 345 ms |
| 2026-11-18 | valid payment request | 402 | $0.02 | 336 ms |
| 2026-11-17 | valid payment request | 402 | $0.02 | 325 ms |
| 2026-11-16 | valid payment request | 402 | $0.02 | 329 ms |
| 2026-11-15 | valid payment request | 402 | $0.02 | 340 ms |
| 2026-11-14 | valid payment request | 402 | $0.02 | 328 ms |
| 2026-11-13 | valid payment request | 402 | $0.02 | 337 ms |
| 2026-11-12 | valid payment request | 402 | $0.02 | 358 ms |
| 2026-11-11 | valid payment request | 402 | $0.02 | 336 ms |
| 2026-11-10 | valid payment request | 402 | $0.02 | 337 ms |
| 2026-11-09 | valid payment request | 402 | $0.02 | 347 ms |
| 2026-11-08 | valid payment request | 402 | $0.02 | 321 ms |
| 2026-11-07 | valid payment request | 402 | $0.02 | 338 ms |
| 2026-11-06 | valid payment request | 402 | $0.02 | 339 ms |
| 2026-11-05 | valid payment request | 402 | $0.02 | 335 ms |
| 2026-11-04 | valid payment request | 402 | $0.02 | 326 ms |
| 2026-11-03 | valid payment request | 402 | $0.02 | 335 ms |
Example input (from the provider)
{
"method": "GET",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"GET",
"HEAD"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}