using regexp as a gzip option is not working

using regexp as a gzip option is not working. The content type parameter was missing