private function trimTag(string $value): string
    {
        if ('!' === $value[0]) {
            return \ltrim(\substr($value, 1, \strcspn($value, " \r\n", 1)), ' ');
        }

        return $value;
    }