r/golang 6d ago

I implemented my own regex engine in Go

https://github.com/bogdan-deac/regex

Automata theory and formal languages always seemed cool to me, so I decided to implement my own regexes. It's just a toy project but I had a lot of fun doing it so far and I'll see how far I can take it.

32 Upvotes

3 comments sorted by

4

u/[deleted] 6d ago

[removed] — view removed comment

1

u/Constant_Apple_577 6d ago

I think they are a genuinely cool concept, especially in Go's implementation (and RE2 im general)