Regexp::Pattern::Net - Regexp patterns related to network
This document describes version 0.002 of Regexp::Pattern::Net (from Perl distribution Regexp-Pattern-Net), released on 2019-01-14.
use Regexp::Pattern; # exports re() my $re = re("Net::ipv4");
Regexp::Pattern is a convention for organizing reusable regex patterns.
ipv4
Match an IPv4 address.
Examples:
"1.2.3.4" =~ re("Net::ipv4"); # matches "1.256.3.4" =~ re("Net::ipv4"); # doesn't match
Please visit the project's homepage at https://metacpan.org/release/Regexp-Pattern-Net.
Source repository is at https://github.com/perlancar/perl-Regexp-Pattern-Net.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Net
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Regexp::Pattern
Regexp::Common, particularly Regexp::Common::net
perlancar <perlancar@cpan.org>
This software is copyright (c) 2019 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Regexp::Pattern::Net, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Pattern::Net
CPAN shell
perl -MCPAN -e shell install Regexp::Pattern::Net
For more information on module installation, please visit the detailed CPAN module installation guide.