Fix host parsing for db connection string regex