FreeDOS: fix regex

This commit is contained in:
Steffen Lange 2023-12-29 23:50:30 +01:00
parent a6ee338a5f
commit 68e7e3051b

View file

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