Hey, Thanks for writing this visualiser, I enjoyed playing with it :+1:
However I noticed an issue where nested capture groups cause backrefs to be marked as recursive when they aren't.
In the screenshot, the diagram shows the outer capture group as \1 and the inner group as \2. This is consistent with grep. However when I add \2 inside group 1, but not inside group 2, the backref is marked as recursive.
Hey, Thanks for writing this visualiser, I enjoyed playing with it :+1:
However I noticed an issue where nested capture groups cause backrefs to be marked as recursive when they aren't.
In the screenshot, the diagram shows the outer capture group as \1 and the inner group as \2. This is consistent with grep. However when I add \2 inside group 1, but not inside group 2, the backref is marked as recursive.