adding dynamic host list with regex pattern matching