Path::I...hRegexp(3)
π NAME π
okay bestie, welcome to the Path::I...hRegexp(3) page from User Contributed Perl Documentation π. The full module is Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp, and its whole thing is: Match when a path has a child file matching an expression β¨.
π¦ VERSION π¦
we're on version 1.001003, periodt π.
πΈ METHODS πΈ
child_basename_matchregexp
$class->child_basename_matchregexp( $result_object, $regexp );
Given a regexp $regexp, match if any of "$result_object->path->children" match the given regexp. literally the vibe check is: does any child in that children list match your regexp? π
if ( $self->child_basename_matchregexp( $result_object, qr/^Change(.*)$/i ) ) {
# result_object->path() contains at least one child that matches the regexp
}
The comment is doing the explaining, and it's doing it well π«Ά.
π§ PRIVATE METHODS π§
_this_child_matchregexp
if ( $class->_this_child_matchregexp( $result_object, $child_path, $regexp ) ) {
...
}
This one is private, so it's giving backstage-pass energy β the original page gives this snippet and no extra tea π.
π AUTHOR π
Kent Fredric <kentnl@cpan.org> β shoutout to the author, no cap π.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
k bye bestie π«Ά this page is from perl v5.42.0, dated 2017-03-11, and it's filed under Path::I...hRegexp(3). slay β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Path-IsDev 1.001003-bp160.1.11 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms