Fixed regex for better matching EOL when cleaning doc block

`\n` doesn't match end of line in all cases and ends up with all help descriptions equal to `/**` instead of content.