1Regexp::Pattern::Perl::URseelreaCsoen(t3r)ibuted Perl DoRceugmeexnpt:a:tPiaotntern::Perl::Release(3)
2
3
4
6 Regexp::Pattern::Perl::Release - Regexp patterns related to Perl
7 release
8
10 This document describes version 0.006 of Regexp::Pattern::Perl::Release
11 (from Perl distribution Regexp-Pattern-Perl), released on 2021-07-27.
12
14 use Regexp::Pattern; # exports re()
15 my $re = re("Perl::Release::perl_release_archive_filename");
16
18 Regexp::Pattern is a convention for organizing reusable regex patterns.
19
21 • perl_release_archive_filename
22
23 Tags: capturing
24
25 Proper filename of a typical distribution release archive
26 (tarball/zip).
27
28 Examples:
29
30 Example #1.
31
32 "Acme-CPANModulesBundle-Import-PerlAdvent-2000-0.001.tar.gz" =~ re("Perl::Release::perl_release_archive_filename", {-anchor=>1}); # matches
33
34 v prefix before version number allowed.
35
36 "Acme-CPANModulesBundle-Import-PerlAdvent-2000-v0.001.tar.gz" =~ re("Perl::Release::perl_release_archive_filename", {-anchor=>1}); # matches
37
38 No distribution name.
39
40 "0.001.tar.gz" =~ re("Perl::Release::perl_release_archive_filename", {-anchor=>1}); # DOESN'T MATCH
41
42 Unfortunately, numeric namespace name gets mistaken as version
43 number.
44
45 "Acme-CPANModulesBundle-Import-PerlAdvent-2000.tar.gz" =~ re("Perl::Release::perl_release_archive_filename", {-anchor=>1}); # matches
46
47 No version number.
48
49 "Acme-CPANModulesBundle-Import-PerlAdvent.tar.gz" =~ re("Perl::Release::perl_release_archive_filename", {-anchor=>1}); # DOESN'T MATCH
50
52 Please visit the project's homepage at
53 <https://metacpan.org/release/Regexp-Pattern-Perl>.
54
56 Source repository is at
57 <https://github.com/perlancar/perl-Regexp-Pattern-Perl>.
58
60 Please report any bugs or feature requests on the bugtracker website
61 <https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Perl>
62
63 When submitting a bug or request, please include a test-file or a patch
64 to an existing test-file that illustrates the bug or desired feature.
65
67 Other "Regexp::Pattern::Perl::*" modules.
68
69 Regexp::Pattern
70
71 Some utilities related to Regexp::Pattern: App::RegexpPatternUtils,
72 rpgrep from App::rpgrep.
73
75 perlancar <perlancar@cpan.org>
76
78 This software is copyright (c) 2021, 2020 by perlancar@cpan.org.
79
80 This is free software; you can redistribute it and/or modify it under
81 the same terms as the Perl 5 programming language system itself.
82
83
84
85perl v5.34.0 2022-01-21 Regexp::Pattern::Perl::Release(3)