Fix hostname regex