Regexp::Pattern::RegexpCommon - Regexps from Regexp::Common
This document describes version 0.002 of Regexp::Pattern::RegexpCommon (from Perl distribution Regexp-Pattern-RegexpCommon), released on 2016-12-31.
use Regexp::Pattern; my $re = re('RegexpCommon::pattern', pattern => ['num', 'real']);
This is a bridge module between Regexp::Common and Regexp::Pattern. It allows you to use Regexp::Common regexps from Regexp::Pattern. Apart from being a proof of concept, normally this module should not be of any practical use.
pattern
Retrieve pattern from Regexp::Common.
This is a dynamic pattern which will be generated on-demand.
The following arguments are available to customize the generated pattern:
Please visit the project's homepage at https://metacpan.org/release/Regexp-Pattern-RegexpCommon.
Source repository is at https://github.com/perlancar/perl-Regexp-Pattern-RegexpCommon.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-RegexpCommon
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::RegexpPattern, the counterpart.
Regexp::Common
Regexp::Pattern
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 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::RegexpCommon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Pattern::RegexpCommon
CPAN shell
perl -MCPAN -e shell install Regexp::Pattern::RegexpCommon
For more information on module installation, please visit the detailed CPAN module installation guide.