Better regex to accept host variable