Remove delimiters from repository regex

This commit is contained in:
Christian Schorn
2012-10-31 14:20:23 +01:00
parent 57b96f448f
commit f3fa152ecc

View File

@@ -25,7 +25,7 @@ class Routing
},
$this->app['git']->getRepositories($this->app['git.repos'])
);
$regex = '/' . implode('|', $quoted_paths) . '/';
$regex = implode('|', $quoted_paths);
}
return $regex;