Go Regexp debugger?

107 views
Skip to first unread message

Steve Mynott

unread,
Nov 5, 2024, 8:02:02 AMNov 5
to golang-nuts
I'm aware of https://regex101.com/ which is fine 90% of the time for
debugging go regex, but I did find an edge case where it misled me a
few years back.

There was a specific website which used go on the backend to do
something similar with more compatibility, but I can't find details
and think it disappeared anyway, I'm sure I saw a repo for this?

Does anyone remember what I'm talking about?

Alternatively, are there any command line go regexp debuggers. I used to use

https://metacpan.org/pod/Regexp::Debugger

when I used Perl and something similar for go would be great if it existed?

--
Steve Mynott <steve....@gmail.com>
rsa3072/629FBB91565E591955B5876A79CEFAA4450EBD50

scott beeker

unread,
Nov 5, 2024, 9:39:35 AMNov 5
to Steve Mynott, golang-nuts

Thanks for the share
Quick reference is a life saver
https://regex101.com


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CANuZA8QJ1YBkdjyc%3DNQdXLVvU582ef4%3DJ%2Bn01m8HAfhQFzPGWg%40mail.gmail.com.

Steve Mynott

unread,
Nov 5, 2024, 10:51:25 AMNov 5
to golang-nuts
To (partly) answer my own question.

https://github.com/stevedomin/rego

The Heroku link is dead, but the code runs fine locally with an added
go.mod file.

S

Robert Solomon

unread,
Nov 5, 2024, 1:52:09 PMNov 5
to golang-nuts
For Windows, there's regexbuddy.com and regexmagic.com.  These work together to help debug regexp's.  But these are not free programs.
Reply all
Reply to author
Forward
0 new messages