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