1PPIx::Regexp::StructureU:s:eMraiCno(n3t)ributed Perl DocPuPmIexn:t:aRteigoenxp::Structure::Main(3)
2
3
4

NAME

6       PPIx::Regexp::Structure::Main - Represent a regular expression proper,
7       or a substitution
8

SYNOPSIS

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

INHERITANCE

15       "PPIx::Regexp::Structure::Main" is a PPIx::Regexp::Structure.
16
17       "PPIx::Regexp::Structure::Main" is the parent of
18       PPIx::Regexp::Structure::Regexp and
19       PPIx::Regexp::Structure::Replacement.
20

DESCRIPTION

22       This abstract class represents one of the top-level structures in the
23       expression. Both PPIx::Regexp::Structure::Regexp and
24       PPIx::Regexp::Structure::Replacement are derived from it.
25

METHODS

27       This class provides the following public methods. Methods not
28       documented here are private, and unsupported in the sense that the
29       author reserves the right to change or remove them without notice.
30
31   delimiters
32       This method returns a string representing the delimiters of a regular
33       expression or substitution string. In the case of something like
34       "s/foo/bar/", it will return '//' for both the regular expression and
35       the replacement.
36
37   interpolates
38       This method returns true if the regular expression or replacement
39       interpolates, and false otherwise. All it really does is to check
40       whether the ending delimiter is a single quote.
41

SUPPORT

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

AUTHOR

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