hostname regex fixed