On 2015-10-16 15:46:33 +0000 (+0000), Jeremy Stanley wrote: [...] > a somewhat more thorough regex like '/([^/]+/[^/]$)(\.git|)$' [...] Heh, mailer regex obviously. ;) I meant '/([^/]+/[^/]+)(\.git|)$' of course (and then take search().group(1) if it succeeds). -- Jeremy Stanley