Update validates_as_hostname_label.rb

regexp refactor