News for hackers. Stuff that matters.
Re:Regex Engine Internals as a Library by ttul on Wednesday July 05, 2023 @10:26AM (#36600918)
Story time. At ActiveState, my colleague and I - both fresh out of school - were tasked with building a regular expression debugger for the Komodo editor. We hired the legendary Perl guru Mark Jason Dominus to hack some hooks into Perl’s regex engine and then by exposing these hooks to the UI, we allowed users to watch the execution of their regexes step by step.

These days, various web-based tools offer superior functionality. But in 2001, Komodo’s Rx Debugger was absolutely state of the art and so much fun to work on.

Re:Regex Engine Internals as a Library by mschaef on Wednesday July 05, 2023 @10:28AM (#36600934)
Any recommendations on specific web based tools for this?
Re:Regex Engine Internals as a Library by imaginary_unit on Wednesday July 05, 2023 @10:38AM (#36601069)
not OP, but these are some I used in the past:

https://www.debuggex.com/

https://regex101.com/

Re:Regex Engine Internals as a Library by Twirrim on Wednesday July 05, 2023 @11:15AM (#36601580)
I've found myself in the past in a situation where I needed an offline regex debugger (dealing with air-gapped networks, so the folks that needed to use the tool literally couldn't get at any online site, nor would they be permitted to even think of putting what they were working with in to an online one, no matter how it's designed), and it seems almost all of the work has gone in to online tools. The offline tools are scarce and somewhat lacking in comparison to, say, https://regex101.com/.
Re:Regex Engine Internals as a Library by lesuorac on Wednesday July 05, 2023 @02:30PM (#36604897)
It seems like the site doesn't really need a server so people have made offline versions.

So should be able to burn something like [1] to a disk.

[1]: https://github.com/ibaaj/Regex101.com-offline-app/pull/1/fil...

Re:Regex Engine Internals as a Library by aorth on Wednesday July 05, 2023 @02:40PM (#36605099)
Good question! I use regex101.com a few times a month and I've thought about offline tools too. I just happened to see this GNOME application called Wildcard recently:

https://flathub.org/apps/com.felipekinoshita.Wildcard

Haven't tried yet...

Re:Regex Engine Internals as a Library by nerdponx on Wednesday July 05, 2023 @03:31PM (#36605863)
RegexBuddy is great and runs fine on WINE.