GIMP: Regex

This commit is contained in:
Steffen Lange 2020-02-07 14:05:13 +01:00
parent 17f93182f2
commit e21b4d1518

View file

@ -6,7 +6,7 @@ class GIMP extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://www.gimp.org/downloads/'))
return $this->parse('_//download\.gimp\.org/mirror/pub/gimp/v[\d\.]+/windows/gimp-([\d\.]+)-setup[\-\d]*\.exe_');
return $this->parse('_//download\.gimp\.org/mirror/pub/gimp/v[\d\.]+/windows/gimp-([\d\.]+)-setup[-\d]*\.exe_');
return false;
}
}