1PPIx::Regexp::StructureU:s:eNramCeodnCtarpitbuurtee(d3P)PPeIrxl::DRoecguemxepn:t:aSttirouncture::NamedCapture(3)
2
3
4

NAME

6       PPIx::Regexp::Structure::NamedCapture - Represent a named capture
7

SYNOPSIS

9        use PPIx::Regexp::Dumper;
10        PPIx::Regexp::Dumper->new( 'qr{(?<foo>foo)}smx' )
11            ->print();
12

INHERITANCE

14       "PPIx::Regexp::Structure::NamedCapture" is a
15       PPIx::Regexp::Structure::Capture.
16
17       "PPIx::Regexp::Structure::NamedCapture" has no descendants.
18

DESCRIPTION

20       This class represents a named capture. Its content will be something
21       like one of the following:
22
23        (?<NAME> ... )
24        (?'NAME' ... )
25        (?P<NAME> ... )
26

METHODS

28       This class provides the following public methods. Methods not
29       documented here are private, and unsupported in the sense that the
30       author reserves the right to change or remove them without notice.
31
32   name
33        my $name = $element->name();
34
35       This method returns the name of the capture.
36

SUPPORT

38       Support is by the author. Please file bug reports at
39       <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
40       <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
41       mail to the author.
42

AUTHOR

44       Thomas R. Wyant, III wyant at cpan dot org
45
47       Copyright (C) 2009-2022 by Thomas R. Wyant, III
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl 5.10.0. For more details, see the full
51       text of the licenses in the directory LICENSES.
52
53       This program is distributed in the hope that it will be useful, but
54       without any warranty; without even the implied warranty of
55       merchantability or fitness for a particular purpose.
56
57
58
59perl v5.36.0                      2022-P0P7I-x2:2:Regexp::Structure::NamedCapture(3)
Impressum