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.
Match an IPv4 address.
"188.8.131.52" =~ 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::Common, particularly Regexp::Common::net
This software is copyright (c) 2019 by firstname.lastname@example.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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.