src/Fracture/Routing/Pattern.php
protected function addSlash($notation)
    {
        $notation = trim($notation, '/');
        $offset = strspn($notation, '[');

        if ($offset === 0) {
            return '/' . $notation;
        }

        if (substr($notation, $offset, 1) !== '/') {
            $notation = substr($notation, 0, $offset) . '/' . substr($notation, $offset);
        }

        return $notation;
    }
protected function addSlash($notation)
    {
        $notation = trim($notation, '/');
        $offset = strspn($notation, '[');

        if ($offset === 0) {
            return '/' . $notation;
        }

        if (substr($notation, $offset, 1) !== '/') {
            $notation = substr($notation, 0, $offset) . '/' . substr($notation, $offset);
        }

        return $notation;
    }
Method ensures that all non-empty route notations expect '/' as first symbol