logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp - Match when a path has a child file matching an

Author

       Kent Fredric <kentnl@cpan.org>

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.

           if ( $self->child_basename_matchregexp( $result_object, qr/^Change(.*)$/i ) ) {
               # result_object->path() contains at least one child that matches the regexp
           }

Name

       Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp - Match when a path has a child file matching an
       expression

Private Methods

"_this_child_matchregexp"
           if ( $class->_this_child_matchregexp( $result_object, $child_path, $regexp ) ) {
               ...
           }

Version

       version 1.001003

See Also