PPIx::R...sertion(3)

๐Ÿ’– PPIx::Regexp::Structure::Assertion ๐Ÿ’–

okay bestie, so this is the manual page for PPIx::Regexp::Structure::Assertion โ€” from the PPIx::R...sertion(3) corner of the perl universe, aka the User Contributed Perl Documentation zone ๐Ÿซถ


โœจ NAME โœจ

PPIx::Regexp::Structure::Assertion โ€” it's giving "represent a parenthesized assertion" ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{(?<=foo)bar}smx' )
    ->print();

that's it, that's the whole vibe check โœจ


๐Ÿงฌ INHERITANCE ๐Ÿงฌ

PPIx::Regexp::Structure::Assertion is a PPIx::Regexp::Structure. like, that's its parent, that's where it gets its whole personality from fr fr ๐ŸŒˆ

and PPIx::Regexp::Structure::Assertion has no descendants. not a single child. it's an only child with main character energy ๐Ÿ‘‘ no one inherits from it, periodt.


๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

so this class represents one of the parenthesized assertions โ€” and there are exactly four flavors in this lil family:

  • look ahead ๐Ÿ‘€
  • look behind ๐Ÿ”™
  • positive โœ…
  • negative โŒ

any combo of those, and this class is the one holding the receipts ๐ŸŽ€


๐Ÿ› ๏ธ METHODS ๐Ÿ› ๏ธ

this class comes with the following public methods on top of everything its superclass already gave it. not me being generous ๐Ÿ’…

๐Ÿ”ฎ is_look_ahead ๐Ÿ”ฎ

returns a true value if the assertion is a look-ahead assertion ๐Ÿซถ

returns a false value if it's a look-behind assertion ๐Ÿ”™

that's the whole method. no cap, it's that simple โœจ

๐ŸŒŸ is_positive ๐ŸŒŸ

returns a true value if the assertion is a positive assertion โœ…

returns a false value if it's a negative assertion โŒ

literally just vibes and booleans, bestie ๐Ÿ’–


๐Ÿ†˜ SUPPORT ๐Ÿ†˜

support is by the author โ€” yeah, direct line, no help desk, we love a personal touch ๐Ÿซถ

please file bug reports at:

https://github.com/trwyant/perl-PPIx-Regexp/issues

or, if you're feeling old-school, in electronic mail to the author ๐Ÿ“ง


โœ๏ธ AUTHOR โœ๏ธ

Thomas R. Wyant, III โ€” harryfmudd at comcast dot net ๐Ÿ’Œ


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. like, it's free, bestie, please don't sue ๐Ÿ˜ญ

and that's the whole page!! this was perl v5.42.2, dated 2026-06-15, from the PPIx::R...sertion(3) files โ€” tysm for reading, mwah ๐Ÿ’‹โœจ๐Ÿฆ‹๐ŸŒธ๐Ÿ’–

๐Ÿ“ฆ where this page comes from