Compression regex pattern option

Support for overriding the compression regex pattern check. This allows for custom patterns or the regular use of just filename.js