Inkscape: fix regex
This commit is contained in:
parent
681ea6afc1
commit
e118f1e4f2
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class Inkscape extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://inkscape.org/release/'))
|
if ($this->fetch('https://inkscape.org/release/'))
|
||||||
return $this->parse('/<title>Download Inkscape ([\d\.]+)/');
|
return $this->parse('/<h1>Inkscape ([\d\.]+)<\/h1>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue