this post was submitted on 17 Mar 2026
430 points (99.8% liked)

Programmer Humor

30547 readers
1020 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] toynbee@piefed.social 16 points 5 days ago (2 children)

Let's see you write a regex for one, then we'll decide.

[–] zitrone@europe.pub 2 points 21 hours ago* (last edited 21 hours ago) (1 children)

lemme try

(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}

tbh i have seen the stackoverflow solutions so i kinda know what i needed to do

this is entirely typed out from brain tho

[–] toynbee@piefed.social 1 points 20 hours ago

I'm currently on my phone and I'm not going to try to figure out how to test regex on Graphene. Therefore I can only say: well done!

[–] JasonDJ@lemmy.zip 6 points 5 days ago

Why would anyone want to do that when there are dozens on stackoverflow?