File extension pattern matching

Note

Updated 2019-10-21.

Examples

extPattern
#> [1] "\\.([a-zA-Z0-9]+)(\\.(bz2|gz|xz|zip))?$"
compressExtPattern
#> [1] "\\.(bz2|gz|xz|zip)$"