1PPIx::Regexp::StructureU:s:eCrhaCroCnltarsisb(u3t)ed PerPlPIDxo:c:uRmeegnetxapt:i:oSntructure::CharClass(3)
2
3
4
6 PPIx::Regexp::Structure::CharClass - Represent a character class
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{[fo]}smx' )
11 ->print();
12
14 "PPIx::Regexp::Structure::CharClass" is a PPIx::Regexp::Structure.
15
16 "PPIx::Regexp::Structure::CharClass" has no descendants.
17
19 This class represents a square-bracketed character class.
20
22 This class provides the following public methods. Methods not
23 documented here are private, and unsupported in the sense that the
24 author reserves the right to change or remove them without notice.
25
26 negated
27 $class->negated() and print "Class is negated\n";
28
29 This method returns true if the character class is negated -- that is,
30 if the first token inside the left square bracket is a caret ("^").
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-2022 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.36.0 2022-07-P2P2Ix::Regexp::Structure::CharClass(3)