Added support for compressFilter to supply custom regex pattern to control compression.