GIMP: Regex
This commit is contained in:
parent
17f93182f2
commit
e21b4d1518
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class GIMP extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.gimp.org/downloads/'))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue