pub fn validate_title_format( commit_titles: &[String], regex_validator: &Regex) -> Result<(), ValidationError>