FreeDOS: fix regex
This commit is contained in:
parent
a6ee338a5f
commit
68e7e3051b
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class FreeDOS extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.freedos.org/download/'))
|
||||
return $this->parse('/<h2>FreeDOS ([\d\.]+)<\/h2>/');
|
||||
return $this->parse('/FreeDOS ([\d\.]+)<\/h\d>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue