this post was submitted on 18 Dec 2024
224 points (98.3% liked)

Programmer Humor

33314 readers
1312 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
[–] Irelephant@lemm.ee 0 points 2 years ago (1 children)

string.contains("something")

Just do that repeatedly

[–] BassTurd@lemmy.world 0 points 2 years ago (1 children)

The "something" is where the regex goes. For simple cases contains by itself does just fine, but for almost anything kind of dynamic input, it's going to not be capable of what regex does.

[–] Irelephant@lemm.ee 1 points 2 years ago

You're right, but it was a joke.