RouterOS Long-term: fix regex
This commit is contained in:
parent
33481e4a36
commit
7d41c13668
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ class MikroTikRouterOSLTS extends PatchBase {
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://mikrotik.com/download')) {
|
if ($this->fetch('https://mikrotik.com/download')) {
|
||||||
$this->str_crop('id="routeros"', '</thead>');
|
$this->str_crop('id="routeros"', '</thead>');
|
||||||
return $this->parse('/<th>([\d\.]+) \(Long-term\)/');
|
return $this->parse('/<th>([\d\.]+) Long-term<\/th>/');
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue