PPIx::R...arClass(3)
π PPIx::Regexp::Structure::CharClass π
okay bestie, welcome to the manual page for PPIx::Regexp::Structure::CharClass β it's part of the User Contributed Perl Documentation and honestly? it's giving niche-but-essential. let's get into it π
β¨ NAME β¨
PPIx::Regexp::Structure::CharClass β the class that represents a character class π¦
πΈ SYNOPSIS πΈ
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{[fo]}smx' )
->print();
like, that's the whole vibe check. you dump it, you see it. periodt. π
𧬠INHERITANCE π§¬
PPIx::Regexp::Structure::CharClass is a PPIx::Regexp::Structure. so it's got the family tree going on, iykyk. π³
and PPIx::Regexp::Structure::CharClass has no descendants. it's a leaf node, bestie β nobody inherits from it, it's just out here living its main character life. π
π DESCRIPTION π
this class represents a square-bracketed character class. that's it, that's the whole thing. think [abc] β the square-bracket girly in your regex. π
π§ METHODS π§
this class provides the following public methods. any method not documented here is private, and unsupported in the sense that the author reserves the right to change or remove them without notice. so like... don't get attached to the undocumented ones, they could ghost you at any time ππ
negated π
$class->negated() and print "Class is negated\n";
this method returns true if the character class is negated β that is, if the very first token inside the left square bracket is a caret ("^"). so [^abc]? negated. [abc]? not negated. simple as. β¨
π«Ά SUPPORT π«Ά
support is by the author, bestie. so if something's broken, don't yell into the void β please file bug reports at:
https://github.com/trwyant/perl-PPIx-Regexp/issues
or, if you're feeling old-school, send electronic mail to the author. either way works, they got you. π
βοΈ AUTHOR βοΈ
Thomas R. Wyant, III β harryfmudd at comcast dot net
(the icon, the legend, the author. we stan. π)
Β©οΈ COPYRIGHT AND LICENSE Β©οΈ
Copyright (C) 2009-2023, 2025-2026 by Thomas R. Wyant, III
this program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. for more details, see the full text of the licenses in the directory LICENSES. π
this program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. so like, no promises, use at your own risk, that's the deal. π
ngl that license disclaimer is the most serious part of this whole page. everything else? chill. π
and that's the page, bestie!! this was perl v5.42.2, documented on 2026-06-15, and it's PPIx::Regexp::Structure::CharClass(3) β go forth and parse those character classes with confidence π
β¨π
π¦ where this page comes from
- fedora 43: perl-PPIx-Regexp 0.092-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-PPIx-Regexp 0.092-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms