pattern='/archive/refs/tags/(v?|\Q'"$pkgname"'\E-)?r\K[\d\.]+(?=\.tar\.gz")'