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.004 of Regexp::Pattern::Perl::Dist
11 (from Perl distribution Regexp-Pattern-Perl), released on 2020-10-02.
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 Please report any bugs or feature requests on the bugtracker website
55 <https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Perl>
56
57 When submitting a bug or request, please include a test-file or a patch
58 to an existing test-file that illustrates the bug or desired feature.
59
61 Other "Regexp::Pattern::Perl::*" modules.
62
63 Regexp::Pattern
64
65 Some utilities related to Regexp::Pattern: App::RegexpPatternUtils,
66 rpgrep from App::rpgrep.
67
69 perlancar <perlancar@cpan.org>
70
72 This software is copyright (c) 2020 by perlancar@cpan.org.
73
74 This is free software; you can redistribute it and/or modify it under
75 the same terms as the Perl 5 programming language system itself.
76
77
78
79perl v5.32.1 2021-01-27 Regexp::Pattern::Perl::Dist(3)