Only do regex match after gzip check has failed.
Used format instead of the old % syntax