RonSijm to Programmer Humor · 1 个月前This Phishing email... What is the IP?imagemessage-square75linkfedilinkarrow-up1451arrow-down11
arrow-up1450arrow-down1imageThis Phishing email... What is the IP?RonSijm to Programmer Humor · 1 个月前message-square75linkfedilink
minus-squaretoynbee@piefed.sociallinkfedilinkEnglisharrow-up16·1 个月前Let’s see you write a regex for one, then we’ll decide.
minus-squareJasonDJ@lemmy.ziplinkfedilinkarrow-up6·1 个月前Why would anyone want to do that when there are dozens on stackoverflow?
minus-squarezitrone 🍋@europe.publinkfedilinkarrow-up2·1 个月前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
minus-squaretoynbee@piefed.sociallinkfedilinkEnglisharrow-up1·1 个月前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!
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!