about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoList.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepoList.pm')
-rw-r--r--lib/PublicInbox/RepoList.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepoList.pm b/lib/PublicInbox/RepoList.pm
index 4b313ed6..39dc9c0b 100644
--- a/lib/PublicInbox/RepoList.pm
+++ b/lib/PublicInbox/RepoList.pm
@@ -16,9 +16,9 @@ sub html_top_fallback { # WwwStream->html_repo_top
 }
 
 sub html ($$$) {
-        my ($wcr, $ctx, $pfx) = @_;
+        my ($wcr, $ctx, $re) = @_;
         my $cr = $wcr->{pi_cfg}->{-coderepos};
-        my @nicks = grep(m!\A\Q$pfx\E/!, keys %$cr) or return; # 404
+        my @nicks = grep(m!$re!, keys %$cr) or return; # 404
         __PACKAGE__->html_init($ctx);
         my $zfh = $ctx->zfh;
         print $zfh "<pre>matching coderepos\n";