1Regexp::IPv6(3)       User Contributed Perl Documentation      Regexp::IPv6(3)
2
3
4

NAME

6       Regexp::IPv6 - Regular expression for IPv6 addresses
7

SYNOPSIS

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

DESCRIPTION

14       This module exports the $IPv6_re regular expression that matches any
15       valid IPv6 address as described in "RFC 2373 - 2.2 Text Representation
16       of Addresses" but "::". Any string not compliant with such RFC will be
17       rejected.
18
19       To match full strings use "/^$IPv6_re$/".
20
22       Copyright (C) 2009, 2010 by Salvador FandiƱo (sfandino@yahoo.com)
23
24       This library is free software; you can redistribute it and/or modify it
25       under the same terms as Perl itself, either Perl version 5.10.0 or, at
26       your option, any later version of Perl 5 you may have available.
27
28       Additionally, you are allowed to use the regexp generated by the module
29       in any way you want, without any restriction. For instance, you are
30       allowed to copy it verbating in your program.
31
32
33
34perl v5.30.1                      2020-01-30                   Regexp::IPv6(3)
Impressum