Regexp::IPv6(3pm)

Regexp::IPv63pm

Regular expression for ipv6 addresses

Usage

  use Regexp::IPv6 qw($IPv6_re);
  $address =~ /^$IPv6_re$/ and print "IPv6 address\n";

Overview

This module 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.

To match full strings use "/^$IPv6_re$/".

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–9
  2. 10–13

From libregexp-ipv6-perl 0.03-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.