DanielBerger

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020
03:07 PM
- 2,448 Views
I've used sites like rubular.com to validate regular expressions. However, I'm wondering if there's anything out there that can evaluate the efficiency of a regular expression, i.e. show me how much (possibly unnecessary) backtracking is happening.
Does such a tool exist? I'm looking for one for Ruby in particular, but a "generic" might work, too.
1 Solution
Accepted Solutions


Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020
05:39 PM
- 2,438 Views
Hey @DanielBerger yes, there is such a tool, I recently discovered it, and it's great:
I supports four flavors as well :)
2 Replies
DanielBerger

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020
03:57 PM
- 2,442 Views
To followup to my own question, I did find regex101.com, which has a debugger, and shows the number of steps involved.


Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020
05:39 PM
- 2,439 Views
Hey @DanielBerger yes, there is such a tool, I recently discovered it, and it's great:
I supports four flavors as well :)
Join the discussion
You must log in to join this conversation.