fn subdir_regex( path: &Path, re: &Regex, ignored: &Vec<PathBuf>, ) -> Result<(), LintError>
A helper function to check that a subdirectory’s name matches a given regex.