Hello Eric and Junio, Thanks a lot for the comments and sorry for the delay with the response. I think that's reasonable to widen the applicability of globs, will do it and prepare next patch. - my $pat = $1 ? "${1}[^/]+" : "[^/]*"; + my $pat = quotemeta($l) . '[^/]*'. quotemeta($r); Hm, that differs from the behavior I suggested at first time: in this case the 'test*' pattern will match all of the: "test", "test0", "test1". In my case it wouldn't match "test"... However I think that's ok. -- Best Regards, Victor-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html