updated regex to allow some hosts