1PPIx::Regexp::StructureU:s:eArssCeornttiroinb(u3t)ed PerPlPIDxo:c:uRmeegnetxapt:i:oSntructure::Assertion(3)
2
3
4
6 PPIx::Regexp::Structure::Assertion - Represent a parenthesized
7 assertion
8
10 use PPIx::Regexp::Dumper;
11 PPIx::Regexp::Dumper->new( 'qr{(?<=foo)bar}smx' )
12 ->print();
13
15 "PPIx::Regexp::Structure::Assertion" is a PPIx::Regexp::Structure.
16
17 "PPIx::Regexp::Structure::Assertion" has no descendants.
18
20 This class represents one of the parenthesized assertions, either look
21 ahead or look behind, and either positive or negative.
22
24 This class provides the following public methods beyond those provided
25 by its superclass.
26
27 is_look_ahead
28 This method returns a true value if the assertion is a look-ahead
29 assertion, or a false value if it is a look-behind assertion.
30
31 is_positive
32 This method returns a true value if the assertion is a positive
33 assertion, or a false value if it is a negative assertion.
34
36 Support is by the author. Please file bug reports at
37 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
38 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
39 mail to the author.
40
42 Thomas R. Wyant, III wyant at cpan dot org
43
45 Copyright (C) 2009-2023 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.36.0 2023-01-P3P0Ix::Regexp::Structure::Assertion(3)