Audacity: fix broken regex
This commit is contained in:
parent
7774b4e105
commit
f505201149
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue