StrawberryPerl: fix broken regex

This commit is contained in:
Steffen Lange 2023-10-17 17:03:08 +02:00
parent bd54777862
commit da7b9f6640

View file

@ -6,7 +6,7 @@ class StrawberryPerl extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://strawberryperl.com/')) if ($this->fetch('https://strawberryperl.com/'))
return $this->parse('_/download/[\d\.]+/strawberry-perl-([\d\.]+)-\d+bit\.msi_'); return $this->parse('_/strawberry-perl-([\d\.]+)-\d+bit\.msi_');
return false; return false;
} }
} }