alsoExtract against a known list of archive files.For each element of alsoExtract that is not a literal match in
filesInArchive (by relative path or basename), the element is treated as a
regular expression and grep()-ed against filesInArchive. Matched names
replace the pattern; unmatched patterns are kept as-is so that downstream
code can emit a useful "file not found" error. Special sentinel values
("similar", "none", NA) are passed through unchanged.
.expandAlsoExtractPatterns(alsoExtract, filesInArchive)A character vector with pattern elements replaced by their matches.
Character vector (or NULL).
Character vector of files inside the archive, as
returned by makeRelative(.listFilesInArchive(archive), destinationPath).
This lets users write e.g.
alsoExtract = "CMD_sm|CMD_sp" to select all archive members whose name
contains CMD_sm or CMD_sp.