1PPIx::Regexp::StructureU:s:eCrapCtounrter(i3b)uted PerlPDPoIcxu:m:eRnetgaetxipo:n:Structure::Capture(3)
2
3
4

NAME

6       PPIx::Regexp::Structure::Capture - Represent capture parentheses.
7

SYNOPSIS

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

INHERITANCE

14       "PPIx::Regexp::Structure::Capture" is a PPIx::Regexp::Structure.
15
16       "PPIx::Regexp::Structure::Capture" is the parent of
17       PPIx::Regexp::Structure::NamedCapture.
18

DESCRIPTION

20       This class represents capture parentheses.
21

METHODS

23       This class provides the following public methods. Methods not
24       documented here are private, and unsupported in the sense that the
25       author reserves the right to change or remove them without notice.
26
27   name
28        my $name = $element->name();
29
30       This method returns the name of the capture buffer. Unless the buffer
31       is actually named, this will be "undef".
32
33   number
34        my $number = $element->number()
35
36       This method returns the number of the capture buffer. Note that named
37       buffers have numbers also.
38

SUPPORT

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

AUTHOR

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