diff --git a/bucket/android-studio-beta.json b/bucket/android-studio-beta.json index 62e01c8505d..9ee7b56fbe9 100644 --- a/bucket/android-studio-beta.json +++ b/bucket/android-studio-beta.json @@ -24,10 +24,7 @@ "pre_install": "'uninstall.exe' | ForEach-Object { Remove-Item \"$dir/$_\" -Recurse }", "extract_dir": "android-studio", "checkver": { - "regex": [ - "agree_beta_win_bundle_download(?:.|", - ")+?android-studio-([\\d.]+)-windows\\.exe" - ] + "regex": "agree_beta_win_bundle_download(?:.)+?android-studio-([\\d.]+)-windows\\.exe" }, "autoupdate": { "architecture": { diff --git a/bucket/android-studio-canary.json b/bucket/android-studio-canary.json index 802bb46552b..80d692f663b 100644 --- a/bucket/android-studio-canary.json +++ b/bucket/android-studio-canary.json @@ -24,10 +24,7 @@ "pre_install": "'uninstall.exe' | ForEach-Object { Remove-Item \"$dir/$_\" -Recurse }", "extract_dir": "android-studio", "checkver": { - "regex": [ - "agree_canary_win_bundle_download(?:.|", - ")+?android-studio-([\\d.]+)-windows\\.exe" - ] + "regex": "agree_canary_win_bundle_download(?:.)+?android-studio-([\\d.]+)-windows\\.exe" }, "autoupdate": { "architecture": {