01 · Four Analysis Modes
Unified workbench covering in-place syntax matches with capture groups, live replacement
counters, dual-list line filtering (grep -v), and tokenized explanation
trees.
d flag indices.
02 · Catastrophic Backtracking Guard
Detects dangerous nested unbounded quantifiers (e.g. (a+)+b) statically
before execution, holding dangerous patterns behind an explicit run confirmation.
03 · Zero-Length Edge Cases
Correctly steps forward on zero-length matches (like \b) using Unicode
code-point increments to prevent infinite loops and surrogate pair splits.
Operational Limits & Assumptions
- · JavaScript Regex Dialect: Uses browser V8 RegExp semantics; PCRE features
like possessive quantifiers or
\Kare not supported. - · Safety Budgets: Processing is bounded at 400,000 characters and 5,000 matches with execution timeout enforcement.
- · Heuristic Warnings: ReDoD static checks target the most common polynomial/exponential structures; subtle backtracking patterns may bypass detection.
- · Explain Limitations: Explanation view is a linear token scanner rather than a full AST compiler.