added restrictions to the host regex