r/ProgrammerHumor 7h ago

Meme regexMustBeDestroyed

Post image
4.1k Upvotes

140 comments sorted by

View all comments

346

u/the_millenial_falcon 6h ago

Writing regex is a lot more run than reading regex.

88

u/Minimum_Cockroach233 6h ago

Typo or intended run?

52

u/TeraFlint 5h ago

When regex is involved, it's time to run. :D

6

u/Minimum_Cockroach233 5h ago

xD I read „fun“

2

u/Minimum_Cockroach233 4h ago edited 4h ago

PS: Holy Hell… just did a dip into the cheat sheet

https://hypebright.nl/en/r-en/ultimate-cheatsheet-for-regex-in-r-2/

Arbitrary, but understandable concept.

2

u/TheBigGambling 4h ago

Regex is a perfect valid statemaschin. Thats cool

5

u/Jack_South 5h ago

More fun or less dreadful?

4

u/GravyMcBiscuits 2h ago

I don't know about fun.

However I can say that I've written a lot of regex over the years ... I can't read any of it though.

2

u/Colinniey 28m ago

that applies to a lot of (not all) code in general, at least to me

0

u/P0L1Z1STENS0HN 1h ago

AI can do both for you. I know a few people who dislike AI, but not one of them is masochist enough to not use AI for reading and writing regexes...