Install libregexp-ipv6-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libregexp-ipv6-perl
Description:
Regular expression for IPv6 addresses
Regexp::IPv6 exports the $IPv6_re regular expression that matches any valid IPv6 address as described in "RFC 2373 - 2.2 Text Representation of Addresses" but ::. Any string not compliant with such RFC will be rejected.
Homepage: http://search.cpan.org/dist/Regexp-IPv6/
Version: 0.03-1
Section: universe/perl