1Regexp::Common::net::CIUDsRe(r3)Contributed Perl DocumenRteagteixopn::Common::net::CIDR(3)
2
3
4

NAME

6       Regexp::Common::net::CIDR -- provide patterns for CIDR blocks.
7

SYNOPSIS

9           use Regexp::Common ();
10           use Regexp::Common::net::CIDR ();
11
12           while (<>) {
13               /$RE{net}{CIDR}{IPv4}/ and print "Contains a CIDR.\n";
14           }
15

DESCRIPTION

17       Patterns for CIDR blocks. Now only next IPv4 formats are supported:
18
19         xxx.xxx/xx
20         xxx.xxx.xxx/xx
21         xxx.xxx.xxx.xxx/xx
22
23       With {-keep} stores address in $1 and number of bits in $2.
24

INSTALLATION

26         perl Makefile.PL
27         make
28         make install
29

CAVEATS

31       As Regexp::Common doesn't work well with extensions named
32       "Regexp::Common::xxx::yyy" you have to load this extension yourself
33       with "use" or "require".
34

AUTHOR

36       Ruslan U. Zakirov <ruz@bestpractical.com>
37
38
39
40perl v5.30.0                      2019-07-26      Regexp::Common::net::CIDR(3)
Impressum