1PPIx::Regexp::StructureU:s:eRregCeoxnpt(r3i)buted Perl DPoPcIuxm:e:nRteagteixopn::Structure::Regexp(3)
2
3
4

NAME

6       PPIx::Regexp::Structure::Regexp - Represent the top-level regular
7       expression
8

SYNOPSIS

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

INHERITANCE

15       "PPIx::Regexp::Structure::Regexp" is a PPIx::Regexp::Structure::Main.
16
17       "PPIx::Regexp::Structure::Regexp" has no descendants.
18

DESCRIPTION

20       This class represents the top-level regular expression. In the example
21       given in the "SYNOPSIS", the "{foo}" will be represented by this class.
22

METHODS

24       This class provides the following public methods. Methods not
25       documented here are private, and unsupported in the sense that the
26       author reserves the right to change or remove them without notice.
27
28   capture_names
29        foreach my $name ( $re->capture_names() ) {
30            print "Capture name '$name'\n";
31        }
32
33       This method returns the capture names found in the regular expression.
34
35   max_capture_number
36        print "Highest used capture number ",
37            $re->max_capture_number(), "\n";
38
39       This method returns the highest capture number used by the regular
40       expression. If there are no captures, the return will be 0.
41

SUPPORT

43       Support is by the author. Please file bug reports at
44       <http://rt.cpan.org>, or in electronic mail to the author.
45

AUTHOR

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