Memtest: parentheses from regex removed

This commit is contained in:
Steffen Lange 2022-03-29 14:53:00 +02:00
parent 74a9796844
commit cd029e4592

View file

@ -6,7 +6,7 @@ class Memtest extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://www.memtest.org/'))
return $this->parse('/>LATEST\s+VERSION : ([\d\.]+[a-z]?)</');
return $this->parse('/LATEST\s+VERSION : ([\d\.]+[a-z]?)/');
return false;
}
}