RonSijm@programming.dev to Programmer Humor@programming.dev · 2 months agoThis Phishing email... What is the IP?programming.devimagemessage-square75fedilinkarrow-up1443
arrow-up1443imageThis Phishing email... What is the IP?programming.devRonSijm@programming.dev to Programmer Humor@programming.dev · 2 months agomessage-square75fedilink
minus-squarezo0@programming.devlinkfedilinkEnglisharrow-up77·2 months agoJust because I know what a valid IP is doesn’t mean I’m not an idiot 😎
minus-squaretoynbee@piefed.sociallinkfedilinkEnglisharrow-up16·2 months agoLet’s see you write a regex for one, then we’ll decide.
minus-squareJasonDJ@lemmy.ziplinkfedilinkarrow-up6·2 months agoWhy would anyone want to do that when there are dozens on stackoverflow?
minus-squarezitrone 🍋@europe.publinkfedilinkarrow-up2·edit-21 month agolemme 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
minus-squaretoynbee@piefed.sociallinkfedilinkEnglisharrow-up1·1 month agoI’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!
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up3·2 months agoThat’s not the probability they are looking for.
Just because I know what a valid IP is doesn’t mean I’m not an idiot 😎
Let’s see you write a regex for one, then we’ll decide.
Why would anyone want to do that when there are dozens on stackoverflow?
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
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!
That’s not the probability they are looking for.