Inkscape: fix regex

This commit is contained in:
Steffen Lange 2021-03-07 14:30:17 +01:00
parent 681ea6afc1
commit e118f1e4f2

View file

@ -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;
} }
} }