Fix server hostname regex to allow underscores