$hostname_regex optional in is() method