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 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. 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
- 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