find_files

astro_metadata_translator.file_helpers.find_files(files: Iterable[str], regex: str) list[str]

Find files for processing.

Parameters:
filesiterable of str

The files or directories from which the headers are to be read.

regexstr

Regular expression string used to filter files when a directory is scanned.

Returns:
found_fileslist of str

The files that were found.