Fix that allows the host regex to contain periods in the name

Fix #460