make hostname regex recognize port