Audacity: fix broken regex

This commit is contained in:
Steffen Lange 2023-10-17 17:02:40 +02:00
parent 7774b4e105
commit f505201149

View file

@ -6,7 +6,7 @@ class Audacity extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.audacityteam.org/download/windows/')) if ($this->fetch('https://www.audacityteam.org/download/windows/'))
return $this->parse('/<h2>Current Version: ([\d\.]+)<\/h2>/'); return $this->parse('/<p>Current version ([\d\.]+)<\/p>/');
return false; return false;
} }
} }