DanielBerger
Mission Specialist
Mission Specialist
  • 362 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)
0 Kudos
1 Solution

Accepted Solutions
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 352 Views

Re: Regex backtracking tool?

Jump to solution

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 Smiley Happy

View solution in original post

0 Kudos
Reply
Loading...
2 Replies
DanielBerger
Mission Specialist
Mission Specialist
  • 356 Views

Re: Regex backtracking tool?

Jump to solution

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

0 Kudos
Reply
Loading...
Razique
Flight Engineer Flight Engineer
Flight Engineer
  • 353 Views

Re: Regex backtracking tool?

Jump to solution

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 Smiley Happy

View solution in original post

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.