Adds xml_name_regex support to score_dirs