1Regexp::Pattern::Perl::UMsoedrulCeo(n3t)ributed Perl DocRuemgeenxtpa:t:iPoanttern::Perl::Module(3)
2
3
4

NAME

6       Regexp::Pattern::Perl::Module - Regexp patterns related to Perl modules
7

VERSION

9       This document describes version 0.004 of Regexp::Pattern::Perl::Module
10       (from Perl distribution Regexp-Pattern-Perl), released on 2020-10-02.
11

SYNOPSIS

13        use Regexp::Pattern; # exports re()
14        my $re = re("Perl::Module::perl_modname");
15

DESCRIPTION

17       Regexp::Pattern is a convention for organizing reusable regex patterns.
18

REGEXP PATTERNS

20       •   perl_modname
21
22           Examples:
23
24           Example #1.
25
26            "" =~ re("Perl::Module::perl_modname");  # DOESN'T MATCH
27
28           Example #2.
29
30            "Foo::Bar" =~ re("Perl::Module::perl_modname");  # matches
31
32           Example #3.
33
34            "Foo::0Bar" =~ re("Perl::Module::perl_modname");  # matches
35
36           Example #4.
37
38            "0Foo::Bar" =~ re("Perl::Module::perl_modname");  # DOESN'T MATCH
39
40           Example #5.
41
42            "Foo/Bar" =~ re("Perl::Module::perl_modname");  # DOESN'T MATCH
43
44       •   perl_modname_with_optional_args
45
46           Examples:
47
48           Example #1.
49
50            "" =~ re("Perl::Module::perl_modname_with_optional_args");  # DOESN'T MATCH
51
52           Example #2.
53
54            "Foo::Bar" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
55
56           Example #3.
57
58            "Foo::0Bar" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
59
60           Example #4.
61
62            "0Foo::Bar" =~ re("Perl::Module::perl_modname_with_optional_args");  # DOESN'T MATCH
63
64           Example #5.
65
66            "Foo/Bar" =~ re("Perl::Module::perl_modname_with_optional_args");  # DOESN'T MATCH
67
68           Example #6.
69
70            "Foo::Bar=" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
71
72           Example #7.
73
74            "Foo::Bar=a" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
75
76           Example #8.
77
78            "Foo::Bar=a,b,c" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
79
80           Example #9.
81
82            "Foo::Bar=a=1" =~ re("Perl::Module::perl_modname_with_optional_args");  # matches
83
84           Example #10.
85
86            "=Foo::Bar" =~ re("Perl::Module::perl_modname_with_optional_args");  # DOESN'T MATCH
87

HOMEPAGE

89       Please visit the project's homepage at
90       <https://metacpan.org/release/Regexp-Pattern-Perl>.
91

SOURCE

93       Source repository is at
94       <https://github.com/perlancar/perl-Regexp-Pattern-Perl>.
95

BUGS

97       Please report any bugs or feature requests on the bugtracker website
98       <https://rt.cpan.org/Public/Dist/Display.html?Name=Regexp-Pattern-Perl>
99
100       When submitting a bug or request, please include a test-file or a patch
101       to an existing test-file that illustrates the bug or desired feature.
102

SEE ALSO

104       Other "Regexp::Pattern::Perl::*" modules.
105
106       Regexp::Pattern
107
108       Some utilities related to Regexp::Pattern: App::RegexpPatternUtils,
109       rpgrep from App::rpgrep.
110

AUTHOR

112       perlancar <perlancar@cpan.org>
113
115       This software is copyright (c) 2020 by perlancar@cpan.org.
116
117       This is free software; you can redistribute it and/or modify it under
118       the same terms as the Perl 5 programming language system itself.
119
120
121
122perl v5.34.0                      2021-07-22  Regexp::Pattern::Perl::Module(3)
Impressum