1PPIx::Regexp::Token::InUtseerrpoCloanttiroinb(u3t)ed PerPlPIDxo:c:uRmeegnetxapt:i:oTnoken::Interpolation(3)
2
3
4
6 PPIx::Regexp::Token::Interpolation - Represent an interpolation in the
7 PPIx::Regexp package.
8
10 use PPIx::Regexp::Dumper;
11 PPIx::Regexp::Dumper->new('qr{$foo}smx')->print();
12
14 "PPIx::Regexp::Token::Interpolation" is a PPIx::Regexp::Token::Code.
15
16 "PPIx::Regexp::Token::Interpolation" has no descendants.
17
19 This class represents a variable interpolation into a regular
20 expression. In the "SYNOPSIS" the $foo would be represented by an
21 object of this class.
22
23 Incompatible Change: Parse of '@{[ ... ]}'
24 In versions 0.083 and earlier, '@{[ ... ]}' parsed as a member of this
25 class. In 0.084 and later, it parses as a member of
26 "PPIx::Regexp::Token::Code". This more accurately reflects the actual
27 contents of the token, and enables the recognition of the full range of
28 postfix dereference operators for versioning purposes, not just those
29 valid in interpolations.
30
32 This class provides the following public methods beyond those provided
33 by its superclass.
34
35 is_matcher
36 This method returns "undef" because a static analysis can not in
37 general tell whether a piece of code matches anything.
38
40 Support is by the author. Please file bug reports at
41 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
42 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
43 mail to the author.
44
46 Thomas R. Wyant, III wyant at cpan dot org
47
49 Copyright (C) 2009-2022 by Thomas R. Wyant, III
50
51 This program is free software; you can redistribute it and/or modify it
52 under the same terms as Perl 5.10.0. For more details, see the full
53 text of the licenses in the directory LICENSES.
54
55 This program is distributed in the hope that it will be useful, but
56 without any warranty; without even the implied warranty of
57 merchantability or fitness for a particular purpose.
58
59
60
61perl v5.36.0 2022-07-P2P2Ix::Regexp::Token::Interpolation(3)