PPIx::R...Capture(3)

πŸ’– PPIx::Regexp::Token::GroupType::NamedCapture(3) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about PPIx::Regexp::Token::GroupType::NamedCapture β€” yeah the name is a whole paragraph, she's dramatic like that πŸ’… but she's the one who represents a named capture, and honestly? iconic.


✨ NAME ✨

PPIx::Regexp::Token::GroupType::NamedCapture β€” represent a named capture πŸŽ€


🌸 SYNOPSIS 🌸

like, here's the vibe in code:

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

that's it, that's the whole flex 🫢


πŸ¦‹ INHERITANCE πŸ¦‹

PPIx::Regexp::Token::GroupType::NamedCapture is a PPIx::Regexp::Token::GroupType. so she's got the family tree going on, main character energy inherited from her parent 😌

and PPIx::Regexp::Token::GroupType::NamedCapture has no descendants. not a single child. she's the end of the line fr fr, no cap πŸ’€


🌈 DESCRIPTION 🌈

this class represents a named capture specification ✨ its content is gonna look like one of these lil guys:

?<NAME>
?'NAME'
?P<NAME>

three flavours, same energy, pick your fighter πŸ“


πŸ’… METHODS πŸ’…

this class provides the following public methods. methods that aren't documented here are 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.

name

this method returns the name of the capture. just the name. that's the whole job and she does it flawlessly πŸ‘‘


🫢 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. go through the proper channels bestie, don't just scream into the void 🌸


πŸ‘‘ 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. yeah, no promises, that's the deal πŸ™ˆ


perl v5.42.2 Β· 2026-06-15 β€” and that's the whole page bestie, mwah, go name some captures πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from