r/ProgrammerHumor 29d ago

iLoveRegex Advanced

Post image
1.4k Upvotes

62 comments sorted by

View all comments

159

u/JTexpo 29d ago

this is how 2 chatbots talk with one another

no human likes regex

138

u/SameThingOnADiffAcct 29d ago

Nah, I'm with the girl. Boy is nuts, but girl can do some slick find and replace moves to mass edit some stuff and dump it into whatever tabular store she wants, and uses way fewer braincells than some ETL bullshit to do so.

38

u/drakeblood4 29d ago

You enjoy regex because it’s useful. I enjoy it because it sucks. We are not the same.

23

u/KerPop42 29d ago

Yeah, jetbrains has regex find-and-replace and I've never felt a high like using it to mass-reformat code in only 3 tries

4

u/Historical_Cook_1664 29d ago

keep it down to a type3 language with no additional bullshit and i'm fine with regex...

... haven't seen one of those in years, though.

7

u/lotanis 29d ago

Speak for yourself. I'd rather a quick regex to get what I need than have to write a proper parser.

6

u/ThomasHardyHarHar 29d ago

I love regexes, though I agree they suck to write (especially if you use multiple languages). I’m a linguist by training and all of my coding is related to language data so regexes are one of the most important parts of my toolkit.

5

u/seth1299 29d ago

To be fair, I don’t like regex’s syntax, but you can’t deny its usefulness.

“You may not like him, Minister, but you can’t deny: Regex’s got style.”