src/Viserio/Component/Routing/Matcher/ExpressionMatcher.php
public function getConditionExpression(string $segmentVariable, int $uniqueKey = null): string
    {
        return \str_replace('{segment}', $segmentVariable, $this->expression);
    }
public function getConditionExpression(string $segmentVariable, int $uniqueKey = null): string
    {
        return \str_replace('{segment}', $segmentVariable, $this->expression);
    }
{@inheritdoc}