**Describe the bug** Capture group displayed wrong while text is correct. **To Reproduce** Steps to reproduce the behavior: 1. Pattern is `()/([^/]+)/$` 2. Text is `/wdir/projects/c/` 3. See error **Screenshots** <img width="772" height="725" alt="Image" src="https://github.com/user-attachments/assets/cb05c321-6927-4812-a53f-c6dff522977e" />
Describe the bug
Capture group displayed wrong while text is correct.
To Reproduce
Steps to reproduce the behavior:
()/([^/]+)/$/wdir/projects/c/Screenshots
