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>, or in electronic mail to the author.
35
37 Thomas R. Wyant, III wyant at cpan dot org
38
40 Copyright (C) 2009-2020 by Thomas R. Wyant, III
41
42 This program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl 5.10.0. For more details, see the full
44 text of the licenses in the directory LICENSES.
45
46 This program is distributed in the hope that it will be useful, but
47 without any warranty; without even the implied warranty of
48 merchantability or fitness for a particular purpose.
49
50
51
52perl v5.32.0 2020-07-P2P9Ix::Regexp::Structure::CharClass(3)