PPIx::R...ructure(3)

πŸ’– NAME πŸ’–

PPIx::Regexp::Token::Structure β€” the token class that reps the structural elements of a regex, bestie. It's a lil' glow-up of a token whose whole job is brackets and vibes (and also the regex type, more on that in a sec). You're reading the manual page for PPIx::R...ructure(3), and yes the terminal rudely truncated its name, it's giving main character with a haircut πŸŽ€


✨ SYNOPSIS ✨

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

okay so that's literally it, that's the whole flex 🫢


🌸 INHERITANCE 🌸

PPIx::Regexp::Token::Structure is a PPIx::Regexp::Token. Ancestry slay, it knows where it came from πŸ’…

PPIx::Regexp::Token::Structure is the parent of PPIx::Regexp::Token::Delimiter. So it's a whole momager, raising a lil' subclass of its own πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

This class represents the things that define the structure of the regular expression. Usually that means brackets β€” all the various sorts, every flavor, no gatekeeping 🧚

But here's the tea: to keep token classes from multiplying like bunnies, the type of the regular expression is also stored here. Yes, the regex type is crashing in the structure token's apartment. It's fine. It's iconic. It's a roommates situation πŸ“


πŸ’œ METHODS πŸ’œ

This class provides no public methods beyond those provided by its superclass. It's a nepo baby in the best way possible β€” inherits everything, adds nothing, still shows up πŸ’€


πŸŽ€ SUPPORT πŸŽ€

Support is by the author. So if something's busted, 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, the author actually wants to hear it πŸ˜­πŸ’–


πŸ‘‘ 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. No cap, that's the actual legal wording, do not come for me πŸ™ˆ

and that's the whole page, periodt πŸ’…βœ¨ this edition was perl v5.42.2, dated 2026-06-15, and it lives under the name PPIx::R...ructure(3) because the terminal said "we're abbreviating, deal with it" πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from