1PPIx::Regexp::Token::GrUosueprTyCpoen:t:rPNiPabImuxet:de:CdRaepPgteeurxrlpe:(D:3oT)coukmeenn:t:aGtrioounpType::NamedCapture(3)
2
3
4
6 PPIx::Regexp::Token::GroupType::NamedCapture - Represent a named
7 capture
8
10 use PPIx::Regexp::Dumper;
11 PPIx::Regexp::Dumper->new( 'qr{(?<baz>foo)}smx' )
12 ->print();
13
15 "PPIx::Regexp::Token::GroupType::NamedCapture" is a
16 PPIx::Regexp::Token::GroupType.
17
18 "PPIx::Regexp::Token::GroupType::NamedCapture" has no descendants.
19
21 This class represents a named capture specification. Its content will
22 be something like one of the following:
23
24 ?<NAME>
25 ?'NAME'
26 ?P<NAME>
27
29 This class provides the following public methods. Methods not
30 documented here are private, and unsupported in the sense that the
31 author reserves the right to change or remove them without notice.
32
33 name
34 This method returns the name of the capture.
35
37 Support is by the author. Please file bug reports at
38 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
39 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
40 mail to the author.
41
43 Thomas R. Wyant, III wyant at cpan dot org
44
46 Copyright (C) 2009-2022 by Thomas R. Wyant, III
47
48 This program is free software; you can redistribute it and/or modify it
49 under the same terms as Perl 5.10.0. For more details, see the full
50 text of the licenses in the directory LICENSES.
51
52 This program is distributed in the hope that it will be useful, but
53 without any warranty; without even the implied warranty of
54 merchantability or fitness for a particular purpose.
55
56
57
58perl v5.34.1 PPI2x0:2:2R-e0g3e-x2p2::Token::GroupType::NamedCapture(3)