SystemRescue: fix regex
This commit is contained in:
parent
82d4350f5e
commit
7ac94fbbbe
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class SysRescCd extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('http://www.system-rescue-cd.org/Detailed-packages-list/'))
|
if ($this->fetch('http://www.system-rescue-cd.org/Detailed-packages-list/'))
|
||||||
return $this->parse('/<strong>SystemRescueCd-([\d\.]+)<\/strong>/');
|
return $this->parse('/<strong>SystemRescue-([\d\.]+)<\/strong>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue