Regexp::Common::net 2.120
Sponsored Links
Regexp::Common::net 2.120 Ranking & Summary
File size:
0.11 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1214
Date added:
2006-06-27
Publisher:
Damian Conway
Regexp::Common::net 2.120 description
Regexp::Common::net is a Perl module that provide regexes for IPv4 addresses.
SYNOPSIS
use Regexp::Common qw /net/;
while (<>) {
/$RE{net}{IPv4}/ and print "Dotted decimal IP address";
/$RE{net}{IPv4}{hex}/ and print "Dotted hexadecimal IP address";
/$RE{net}{IPv4}{oct}{-sep => :}/ and
print "Colon separated octal IP address";
/$RE{net}{IPv4}{bin}/ and print "Dotted binary IP address";
/$RE{net}{MAC}/ and print "MAC address";
/$RE{net}{MAC}{oct}{-sep => " "}/ and
print "Space separated octal MAC address";
}
Please consult the manual of Regexp::Common for a general description of the works of this interface.
Do not use this module directly, but load it via Regexp::Common.
This modules gives you regular expressions for various style IPv4 and MAC (or ethernet) addresses.
$RE{net}{IPv4}
Returns a pattern that matches a valid IP address in "dotted decimal". Note that while 318.99.183.11 is not a valid IP address, it does match /$RE{net}{IPv4}/, but this is because 318.99.183.11 contains a valid IP address, namely 18.99.183.11. To prevent the unwanted matching, one needs to anchor the regexp: /^$RE{net}{IPv4}$/.
For this pattern and the next four, under -keep (See Regexp::Common):
$1
captures the entire match
$2
captures the first component of the address
$3
captures the second component of the address
$4
captures the third component of the address
$5
captures the final component of the address
SYNOPSIS
use Regexp::Common qw /net/;
while (<>) {
/$RE{net}{IPv4}/ and print "Dotted decimal IP address";
/$RE{net}{IPv4}{hex}/ and print "Dotted hexadecimal IP address";
/$RE{net}{IPv4}{oct}{-sep => :}/ and
print "Colon separated octal IP address";
/$RE{net}{IPv4}{bin}/ and print "Dotted binary IP address";
/$RE{net}{MAC}/ and print "MAC address";
/$RE{net}{MAC}{oct}{-sep => " "}/ and
print "Space separated octal MAC address";
}
Please consult the manual of Regexp::Common for a general description of the works of this interface.
Do not use this module directly, but load it via Regexp::Common.
This modules gives you regular expressions for various style IPv4 and MAC (or ethernet) addresses.
$RE{net}{IPv4}
Returns a pattern that matches a valid IP address in "dotted decimal". Note that while 318.99.183.11 is not a valid IP address, it does match /$RE{net}{IPv4}/, but this is because 318.99.183.11 contains a valid IP address, namely 18.99.183.11. To prevent the unwanted matching, one needs to anchor the regexp: /^$RE{net}{IPv4}$/.
For this pattern and the next four, under -keep (See Regexp::Common):
$1
captures the entire match
$2
captures the first component of the address
$3
captures the second component of the address
$4
captures the third component of the address
$5
captures the final component of the address
Regexp::Common::net 2.120 Screenshot
Regexp::Common::net 2.120 Keywords
IPv4
IP
MAC
valid ip address
ip address
Perl module
IPv4 addresses
address
net
print
module
captures
addresses
Regexp::Common::net
RegexpCommonnet
Regexp::Common::net 2.120
Bookmark Regexp::Common::net 2.120
Regexp::Common::net 2.120 Copyright
WareSeeker periodically updates pricing and software information of Regexp::Common::net 2.120 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Regexp::Common::net 2.120 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
ip addresses
static ip addresses
my ip address
IPv4 address exhaustion
what is my ip address
email address
email addresses
address search
ip address lookup
find ip address
ip address finder
ip address hack
gettysburg address
linksys router ip address
ip address locator
ip address search
address bar
ip address xbox live
Related Software
Regexp::Common::comment is a Perl module that provide regexes for comments. Free Download
Regexp::Common::time Perl module contains date and time regexps. Free Download
IP::Country is a tool for fast lookup of country codes from IP addresses. Free Download
IP Traffic Meter is a traffic counter for IPv4 addresses. Free Download
IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel, which can be administered by the ipset utility. Free Download
ARPSpoofDetector performs active and passive detection of ARP spoofing and IP (IPv4) address collision. Free Download
Text::VimColor is a syntax color text in HTML or XML using Vim. Free Download
Arphound is a tools that listens to all traffic on an ethernet network interface, and reports IP/MAC address pair. Free Download
Latest Software
Popular Software
Favourite Software