Regular Expression Playground

Interactive playground for the PetitParser-based regular expression engine. Write patterns, inspect the AST, trace NFA state transitions, and test matching strings in real time.

1. Inputs

2. Match Results

3. AST Visualization

Structural representation of the parsed regular expression:

4. NFA States & Transitions

The Non-deterministic Finite Automaton state graph transitions:

State Transitions