about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiExternal.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-27 11:07:49 +0000
committerEric Wong <e@80x24.org>2021-04-27 21:28:55 -0400
commitc7ec7eb31e5c770636275b850bcdc8b9ae0f59dd (patch)
tree7405d49b17ed3e2a02bbb394e4d85ff4ce74965d /lib/PublicInbox/LeiExternal.pm
parentfb7702f0888e9bdad98f33c09c4048625322a688 (diff)
downloadpublic-inbox-c7ec7eb31e5c770636275b850bcdc8b9ae0f59dd.tar.gz
This will be useful, later.
Diffstat (limited to 'lib/PublicInbox/LeiExternal.pm')
-rw-r--r--lib/PublicInbox/LeiExternal.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiExternal.pm b/lib/PublicInbox/LeiExternal.pm
index b0ebe947..3858085e 100644
--- a/lib/PublicInbox/LeiExternal.pm
+++ b/lib/PublicInbox/LeiExternal.pm
@@ -50,7 +50,7 @@ my %re_map = ( '*' => '[^/]*?', '?' => '[^/]',
                 '[' => '[', ']' => ']', ',' => ',' );
 
 sub glob2re {
-        my ($re) = @_;
+        my $re = $_[-1];
         my $p = '';
         my $in_bracket = 0;
         my $qm = 0;