Login
You're viewing the techdon.dev public feed.
  • Oct 6, 2026, 7:56 PM

    I have written multiple industrial strength regular expression engines. I have, over the years, written thousands upon thousands of regexes for lexers, network fingerprints, data mining, all that jazz. I have spoken at conferences about regexes and their implementation and underlying theory.

    Anyway yeah any time I write a regex there’s like a solid 62% chance I fuck it up in some obvious way.

    #regex #programming

    💬 1🔄 0⭐ 0

Replies

  • 💬 0🔄 0⭐ 0
  • Oct 6, 2026, 8:07 PM

    @rk Clearly, it's all that theory messing you up. I know little about the underlying theory of regexes, I haven't spoken about them at conferences, and I've written a single toy-quality regex engine (it crashes with a stack overflow if you try to match ()*). But when I write a regex, it works right on the first try in at least 90% of cases.

    💬 0🔄 0⭐ 0