firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.24k stars 199 forks source link

Regex debugger tool single step ability. #1965

Closed swgmike closed 1 year ago

swgmike commented 1 year ago

Feature

The regex debugger tool doesn't have the ability to single step thru the expression. It can only go to the beginning/end or play the regex expression. One must enter a max stop number to try a do a single step capability. Hence during play mode it may go beyond what is currently shown on the screen and by the time one scrolls down, it is already finished.

Also would be nice to select a particular expression within the regex to break point on.

firasdib commented 1 year ago

What do you mean? Have you tried using the arrow keys?

swgmike commented 1 year ago

I've used the arrow keys which are go to beginning or end, play, and go slower or faster. There is no button to step one increment at a time thru the regexpression at my speed so I can see each step at my speed to see if it is working correctly. It would be nice to set a breakpoint based on the group # each time it is evaluated or on the group label name.

See attachment firefox_yB8h8DBJ57

firasdib commented 1 year ago

That's weird. Have you tried clicking on Available Keyboard Shortcuts and trying everything in there?

firasdib commented 1 year ago

I will add a button in the UI for this.