cancel
Showing results for 
Search instead for 
Did you mean: 
DanielBerger
Mission Specialist
Mission Specialist
  • 2,194 Views

Regex backtracking tool?

Jump to solution

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.

Labels (1)
1 Solution

Accepted Solutions
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 2,184 Views

Hey @DanielBerger yes, there is such a tool, I recently discovered it, and it's great:

https://regex101.com/

I supports four flavors as well :)

View solution in original post

2 Replies
DanielBerger
Mission Specialist
Mission Specialist
  • 2,188 Views

To followup to my own question, I did find regex101.com, which has a debugger, and shows the number of steps involved.

0 Kudos
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 2,185 Views

Hey @DanielBerger yes, there is such a tool, I recently discovered it, and it's great:

https://regex101.com/

I supports four flavors as well :)

Join the discussion
You must log in to join this conversation.