PPIx::R...sertion(3)
πΈ PPIx::R...sertion(3) πΈ
okay bestie, welcome to the User Contributed Perl Documentation for PPIx::Regexp::Token::Assertion π yes the man page name is literally abbreviated like that, it's giving mystery, it's giving ellipsis, we love her for it.
β¨ NAME β¨
PPIx::Regexp::Token::Assertion β the class that represents a simple assertion. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{\bfoo\b}smx' )
->print();
look at her go β¨ dump a regex, see the assertion tokens pop out, slay.
π INHERITANCE π
PPIx::Regexp::Token::Assertion is a PPIx::Regexp::Token. found family, iconic lineage π
PPIx::Regexp::Token::Assertion has no descendants. she's a leaf node, a final girl, nobody inherits from her. periodt.
π₯ DESCRIPTION π₯
so this class represents one of the simple assertions β meaning the ones that are not defined via parentheses. no parens, no drama, just vibes. this includes the zero-width assertions "^", "$", "\b", "\B", "\A", "\Z", "\z" and "\G", plus these extra little icons:
- the
"\z"assertion, added in Perl 5.005 β¨ - the
"\K"assertion, added in Perl 5.009005 π₯ - the
"\b{gcb}"assertion (and friends) added in Perl 5.021009 π«Ά
ngl, similar braced constructions (like"\b{foo}") are unknown tokens. so don't come for her with a random"\b{foo}"and expect it to be recognized, bestie, it is not π
π METHODS π
this class provides no public methods beyond those provided by its superclass. she's low-maintenance like that π everything you need, her parent already had it.
β is_matcher β
this method returns a true value because an assertion actually matches something. yes queen, she is a matcher, no cap π
π SUPPORT π
support is by the author. so if something's broken, please file bug reports at:
<https://github.com/trwyant/perl-PPIx-Regexp/issues>
or in electronic mail to the author. don't suffer in silence, bestie, that's not the move π«Ά
π 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.
fr fr, no warranty, so don't come crying to the author if it does a chaos π
and that's the whole page, bestie π¦ this was perl v5.42.2, dated 2026-06-15, and you just read the PPIx::R...sertion(3) man page top to bottom like a main character. mwah π
π
π¦ 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