Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Regexp::Common::net::CUser3Contributed Perl DocumeRegexp::Common::net::CIDR(3)

NAME
       Regexp::Common::net::CIDR -- provide patterns for CIDR blocks.

SYNOPSIS
	   use Regexp::Common ();
	   use Regexp::Common::net::CIDR ();

	   while (<>) {
	       /$RE{net}{CIDR}{IPv4}/ and print	"Contains a CIDR.\n";
	   }

DESCRIPTION
       Patterns	for CIDR blocks. Now only next IPv4 formats are	supported:

	 xxx.xxx/xx
	 xxx.xxx.xxx/xx
	 xxx.xxx.xxx.xxx/xx

       With {-keep} stores address in $1 and number of bits in $2.

INSTALLATION
	 perl Makefile.PL
	 make
	 make install

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

AUTHOR
       Ruslan U. Zakirov <ruz@bestpractical.com>

perl v5.24.1			  2015-06-03	  Regexp::Common::net::CIDR(3)

NAME | SYNOPSIS | DESCRIPTION | INSTALLATION | CAVEATS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Regexp::Common::net::CIDR&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help