Login
You're viewing the techdon.dev public feed.
  • Oct 13, 2026, 6:17 AM

    @cinebox Honestly, unless you're using one of the "fancier" (actually more regular) engines that can do regex intersection and negation, it's probably more readable to parse the general structure first and filter out dash lines in a separate pass. Cramming it all into a single regex with negative look-ahead and the like quickly gets unreadable (unless you use something like Perl that allows sane formatting/indentation/comments within regexes, but I'd still do two passes there).

    💬 0🔄 0⭐ 0