Closed Dorsalus closed 3 years ago
Hey question. Is there any reason there is an open bracket but no closed bracket in the last group of the regex? \[?[fF][eE][89aAbB][0-9a-fA-F](?:[:][0-9a-fA-F]{0,4}){0,7})
Modifications and changes made in v. 1.0.19 https://github.com/ACK-J/Port_Authority/commit/7af3a737b4abedadb1bbaa0b88ed07d675b15d95
I was getting some strange behaviour with the closing bracket for some reason but looks like you've fixed it.
Thanks for the partial credit btw, it's appreciated.
Thanks for the help!
Changed regex to match IPv6 enclosed in square brackets, only looks for opening bracket. Current match is optional so both formats; [fc03:49bd:b7c1:5685::2] and fc03:49bd:b7c1:5685::2, are postively matched.