1PPIx::Regexp::StructureU:s:eRrepCloanctermiebnutt(e3d)PPePrIlx:D:oRceugmeexnpt:a:tSitornucture::Replacement(3)
2
3
4
6 PPIx::Regexp::Structure::Replacement - Represent the replacement in
7 s///
8
10 use PPIx::Regexp::Dumper;
11 PPIx::Regexp::Dumper->new( 's{foo}{bar}smxg' )
12 ->print();
13
15 "PPIx::Regexp::Structure::Replacement" is a
16 PPIx::Regexp::Structure::Main.
17
18 "PPIx::Regexp::Structure::Replacement" has no descendants.
19
21 This class represents the replacement in a substitution operation. In
22 the example given in the "SYNOPSIS", the "{bar}" will be represented by
23 this class.
24
25 Note that if the substitution is not bracketed (e.g. "s/foo/bar/g"),
26 this structure will contain no starting delimiter.
27
29 This class provides no public methods beyond those provided by its
30 superclass.
31
33 Support is by the author. Please file bug reports at
34 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
35 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
36 mail to the author.
37
39 Thomas R. Wyant, III wyant at cpan dot org
40
42 Copyright (C) 2009-2021 by Thomas R. Wyant, III
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl 5.10.0. For more details, see the full
46 text of the licenses in the directory LICENSES.
47
48 This program is distributed in the hope that it will be useful, but
49 without any warranty; without even the implied warranty of
50 merchantability or fitness for a particular purpose.
51
52
53
54perl v5.34.0 2021-1P0P-I2x5::Regexp::Structure::Replacement(3)