src/Viserio/Component/Console/Command/ExpressionParser.php
private static function extractDescription(string $token): array
    {
        \preg_match('/(.*)\s:(\s+.*(?<!]))(.*)/', \trim($token), $parts);

        return \count($parts) === 4 ? [$parts[1] . $parts[3], \trim($parts[2])] : [$token, ''];
    }
private static function extractDescription(string $token): array
    {
        \preg_match('/(.*)\s:(\s+.*(?<!]))(.*)/', \trim($token), $parts);

        return \count($parts) === 4 ? [$parts[1] . $parts[3], \trim($parts[2])] : [$token, ''];
    }
Parse the token into its token and description segments.

@param string $token

@return array