this post was submitted on 29 Sep 2026
571 points (98.0% liked)

Programmer Humor

33385 readers
1055 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] grillgamesh@lemmy.dbzer0.com 4 points 11 hours ago (17 children)

I could either take several tedious hours to write out several thousand regex patterns by hand to automatically recognize differing formats of notation for this thing I'm doing IRL......

or I could have an LLM do it in a few seconds, and it'll get 99.99% of the cases, missing maybe one case every hundred thousand...

take your guess as to which option I chose.

LLMs are a tool. I use it as such.

[–] jj4211@lemmy.world 2 points 6 hours ago (1 children)

Frankly, your use case sounds like something has gone horribly wrong from the outset. If something needs several thousand regex patterns, then something is very very wrong, and there's zero chance you have a comprehensive solution as it stands. Either trying to use regex for a use case that some natively AI approach might actually be warranted for, or regex is being used poorly and each one is too limited, or some other approach entirely is warranted.

[–] grillgamesh@lemmy.dbzer0.com 1 points 1 hour ago

well, it works, and i don't need to touch it.

remaking what is already working would cost more time.

load more comments (15 replies)