1PPIx::Regexp::Token::GrUeseedrinCeosnst(r3i)buted Perl DPoPcIuxm:e:nRteagteixopn::Token::Greediness(3)
2
3
4
6 PPIx::Regexp::Token::Greediness - Represent a greediness qualifier.
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{foo*+}smx' )
11 ->print();
12
14 "PPIx::Regexp::Token::Greediness" is a PPIx::Regexp::Token.
15
16 "PPIx::Regexp::Token::Greediness" has no descendants.
17
19 This class represents a greediness qualifier for the preceding
20 quantifier.
21
23 This class provides the following public methods. Methods not
24 documented here are private, and unsupported in the sense that the
25 author reserves the right to change or remove them without notice.
26
27 could_be_greediness
28 PPIx::Regexp::Token::Greediness->could_be_greediness( '?' );
29
30 This method returns true if the given string could be a greediness
31 indicator; that is, if it is '+' or '?'.
32
34 Support is by the author. Please file bug reports at
35 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
36 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
37 mail to the author.
38
40 Thomas R. Wyant, III wyant at cpan dot org
41
43 Copyright (C) 2009-2021 by Thomas R. Wyant, III
44
45 This program is free software; you can redistribute it and/or modify it
46 under the same terms as Perl 5.10.0. For more details, see the full
47 text of the licenses in the directory LICENSES.
48
49 This program is distributed in the hope that it will be useful, but
50 without any warranty; without even the implied warranty of
51 merchantability or fitness for a particular purpose.
52
53
54
55perl v5.32.1 2021-03-26PPIx::Regexp::Token::Greediness(3)