# File lib/genome-dsl/machines.rb, line 147 def matching_chars(hostname) regex.match(hostname)[0].size rescue 0 end