Removed limit on encoding, fixed regex on uncompression.