Hacker News new | ask | show | jobs
by jw1224 1296 days ago
I can’t see any mention of square brackets in section 9 (macros). Also, my end goal was to specifically target the contents of the first parameter, which I know which will wrapped in curly braces.

Regardless, even if my prompt didn’t meet the LaTeX spec exactly, the regex I got back (after just 2 natural-language revisions) saved me a lot of time and hassle, and helped me get the job done in the way I needed it to.

There’s little point judging it to be a “total clusterfuck” without knowing what I’m even trying to achieve in the first place :)