Heuristically detect catastrophic-backtracking (ReDoS) risk in a regular expression: nested quantifiers, overlapping alternations, and quantified groups followed by the same char. Get a risk rating, flagged sub-patterns, safe-rewrite guidance, and an optional live match timer.
Heuristic detection of catastrophic backtracking. For reviewing your own / authorized patterns.
(a+)+An inner quantifier inside a group that is itself quantified is the classic exponential ReDoS shape. Make the inner part atomic or possessive, or restrict the inner class so it cannot overlap.