Mac@programming.dev to Programmer Humor@programming.dev · 1 year agoGoOnprogramming.devimagemessage-square105fedilinkarrow-up1973arrow-down146
arrow-up1927arrow-down1imageGoOnprogramming.devMac@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square105fedilink
minus-squaretabularasa@lemmy.worldlinkfedilinkarrow-up7·1 year agoNot to nitpick, but an IPv6 address is represented as eight groups of four hexadecimal digits separated by :. Like 2001:0db8:3333:4444:5555:6666:7777:8888.
minus-squarenephs@lemmygrad.mllinkfedilinkarrow-up1·1 year agoI’ll leave the regex to validate an ipv6 address as an exercise to the reader.
minus-squaredoctorcrimson@lemmy.todaylinkfedilinkarrow-up1·1 year agoOmg, that’s twice now I’ve messed it up. Fixed.
Not to nitpick, but an IPv6 address is represented as eight groups of four hexadecimal digits separated by :. Like 2001:0db8:3333:4444:5555:6666:7777:8888.
I’ll leave the regex to validate an ipv6 address as an exercise to the reader.
Omg, that’s twice now I’ve messed it up. Fixed.