]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiExternal.pm
lei: add "ls-sync" command for listing sync folders
[public-inbox.git] / lib / PublicInbox / LeiExternal.pm
index b0ebe9479b6254294fada399d746933484a7d6e2..3858085ece8cc0c04e49164a0edcaf4b26161837 100644 (file)
@@ -50,7 +50,7 @@ my %re_map = ( '*' => '[^/]*?', '?' => '[^/]',
                '[' => '[', ']' => ']', ',' => ',' );
 
 sub glob2re {
-       my ($re) = @_;
+       my $re = $_[-1];
        my $p = '';
        my $in_bracket = 0;
        my $qm = 0;