1Regexp::Pattern::Perl::UDsiesrt(C3o)ntributed Perl DocumReengteaxtpi:o:nPattern::Perl::Dist(3)
2
3
4
6 Regexp::Pattern::Perl::Dist - Regexp patterns related to Perl
7 distribution
8
10 This document describes version 0.007 of Regexp::Pattern::Perl::Dist
11 (from Perl distribution Regexp-Pattern-Perl), released on 2022-07-30.
12
14 use Regexp::Pattern; # exports re()
15 my $re = re("Perl::Dist::perl_distname");
16
18 Regexp::Pattern is a convention for organizing reusable regex patterns.
19
21 • perl_distname
22
23 Examples:
24
25 Example #1.
26
27 "" =~ re("Perl::Dist::perl_distname"); # DOESN'T MATCH
28
29 Example #2.
30
31 "Foo-Bar" =~ re("Perl::Dist::perl_distname"); # matches
32
33 Example #3.
34
35 "Foo-0Bar" =~ re("Perl::Dist::perl_distname"); # matches
36
37 Example #4.
38
39 "0Foo-Bar" =~ re("Perl::Dist::perl_distname"); # DOESN'T MATCH
40
41 Example #5.
42
43 "Foo::Bar" =~ re("Perl::Dist::perl_distname"); # DOESN'T MATCH
44
46 Please visit the project's homepage at
47 <https://metacpan.org/release/Regexp-Pattern-Perl>.
48
50 Source repository is at
51 <https://github.com/perlancar/perl-Regexp-Pattern-Perl>.
52
54 Other "Regexp::Pattern::Perl::*" modules.
55
56 Regexp::Pattern
57
58 Some utilities related to Regexp::Pattern: App::RegexpPatternUtils,
59 rpgrep from App::rpgrep.
60
62 perlancar <perlancar@cpan.org>
63
65 To contribute, you can send patches by email/via RT, or send pull
66 requests on GitHub.
67
68 Most of the time, you don't need to build the distribution yourself.
69 You can simply modify the code, then test via:
70
71 % prove -l
72
73 If you want to build the distribution (e.g. to try to install it
74 locally on your system), you can install Dist::Zilla,
75 Dist::Zilla::PluginBundle::Author::PERLANCAR, and sometimes one or two
76 other Dist::Zilla plugin and/or Pod::Weaver::Plugin. Any additional
77 steps required beyond that are considered a bug and can be reported to
78 me.
79
81 This software is copyright (c) 2022, 2020 by perlancar
82 <perlancar@cpan.org>.
83
84 This is free software; you can redistribute it and/or modify it under
85 the same terms as the Perl 5 programming language system itself.
86
88 Please report any bugs or feature requests on the bugtracker website
89 <https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Perl>
90
91 When submitting a bug or request, please include a test-file or a patch
92 to an existing test-file that illustrates the bug or desired feature.
93
94
95
96perl v5.36.0 2023-01-20 Regexp::Pattern::Perl::Dist(3)