PPIx::R...s::POSIX(3)
π PPIx::Regexp::Token::CharClass::POSIX π
okay so bestie, this is a page out of the User Contributed Perl Documentation, and we're talking about PPIx::Regexp::Token::CharClass::POSIX β the module that holds the receipts for POSIX character classes inside Perl regexes. let's get into it π«Ά
β¨ NAME β¨
PPIx::Regexp::Token::CharClass::POSIX β the token that represents a POSIX character class π
πΈ SYNOPSIS πΈ
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{ [[:alpha:]] }smx' )
->print();
that's literally it, you dump it and vibe π¦
𧬠INHERITANCE π§¬
PPIx::Regexp::Token::CharClass::POSIX is a PPIx::Regexp::Token::CharClass. so it gets all the family traits from up the chain, iykyk.
and PPIx::Regexp::Token::CharClass::POSIX is the parent of PPIx::Regexp::Token::CharClass::POSIX::Unknown. yes queen, she has a child module, she's a whole lineage π
π DESCRIPTION π
so this class represents a POSIX character class. the important thing: it will only be recognized within a character class. no popping up in the wild outside one, no ma'am. π
now, tea time β β note that collating symbols (like [.ch.]) and equivalence classes (like [=a=]) are valid in the POSIX standard, but they are not valid in Perl regular expressions. ngl that's a whole situation. these end up being represented by PPIx::Regexp::Token::CharClass::POSIX::Unknown, and they are considered a parse failure. π so if you see them, that's not a slay, that's an error.
π METHODS π
this class provides the following public methods beyond those provided by its superclass.
(yes bestie, that's the whole list. sometimes the flex is the restraint. π )
π«Ά SUPPORT π«Ά
Support is by the author. so if something's giving broken, please file bug reports at https://github.com/trwyant/perl-PPIx-Regexp/issues or in electronic mail to the author. they're literally the one holding this whole thing together β¨
π AUTHOR π
Thomas R. Wyant, III β harryfmudd at comcast dot net π
π 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 fr fr, no promises, read the license.
and that's the whole page, bestie!! π this one ships as part of perl v5.42.2, dated 2026-06-15, and it's filed under the User Contributed Perl Documentation. go forth and parse those POSIX classes responsibly πΈβ¨
π¦ 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