Here's the regex that I ended up with: https://github.com/steven-tey/dub/blob/main/lib/utils.ts#L12...
Reply on news.ycombinator.com