Memtest: parentheses from regex removed
This commit is contained in:
parent
74a9796844
commit
cd029e4592
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class Memtest extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.memtest.org/'))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue