fixed regex to work with more host names