refactor(packer) unpack: checkExt -> regexp