Skip to content
RegexCraft
  • In development
  • Same client-side engine
  • No signup

Regex execution-tree explainer

This tool is not built yet, and this page says so rather than pretending. What is coming is a step-by-step view of how the engine reaches a match: each alternation branch, quantifier expansion and backtracking step drawn as a tree.

What the explainer will show

The tester already reports the verdict, the groups and the execution time. The explainer's job is the step in between: why the engine took that route.

  • Draw each alternation branch and quantifier expansion as a node in a tree
  • Animate the engine's position as it consumes characters, so backtracking becomes visible
  • Report step counts per branch, which is what makes a catastrophic pattern obvious
  • Run on the same client-side engine as the tester, so the explanation cannot disagree with the result