src/bitExpert/Pathfinder/Psr7Router.php
protected function getPathMatcherForRoute(Route $route) : string
    {
        $pathMatcher = preg_replace('#\[:(.+?)\]#i', '(?P<$1>[^/]+?)/?', $route->getPath());
        return sprintf('#^%s$#i', $pathMatcher);
    }
protected function getPathMatcherForRoute(Route $route) : string
    {
        $pathMatcher = preg_replace('#\[:(.+?)\]#i', '(?P<$1>[^/]+?)/?', $route->getPath());
        return sprintf('#^%s$#i', $pathMatcher);
    }
protected function getPathMatcherForRoute ( Route $ route ) : string { $ pathMatcher = preg_replace ( '#\[:(.+?)\]#i' , '(?P<$1>[^/]+?)/?' , $ route -> getPath ( ) ) ; return sprintf ( '#^%s$#i' , $ pathMatcher ) ; }
{@inheritdoc}
{