Gzip: properly escape regexes