1PPIx::Regexp::StructureU:s:eNramCeodnCtarpitbuurtee(d3P)PPeIrxl::DRoecguemxepn:t:aSttirouncture::NamedCapture(3)
2
3
4
6 PPIx::Regexp::Structure::NamedCapture - Represent a named capture
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{(?<foo>foo)}smx' )
11 ->print();
12
14 "PPIx::Regexp::Structure::NamedCapture" is a
15 PPIx::Regexp::Structure::Capture.
16
17 "PPIx::Regexp::Structure::NamedCapture" has no descendants.
18
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
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
38 Support is by the author. Please file bug reports at
39 <http://rt.cpan.org>, or in electronic mail to the author.
40
42 Thomas R. Wyant, III wyant at cpan dot org
43
45 Copyright (C) 2009-2013 by Thomas R. Wyant, III
46
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl 5.10.0. For more details, see the full
49 text of the licenses in the directory LICENSES.
50
51 This program is distributed in the hope that it will be useful, but
52 without any warranty; without even the implied warranty of
53 merchantability or fitness for a particular purpose.
54
55
56
57perl v5.16.3 2014-P0P6I-x1:0:Regexp::Structure::NamedCapture(3)