OPNsense: update regex
This commit is contained in:
parent
863d63e605
commit
7fe3791456
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class OPNsense extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://opnsense.org/download/'))
|
||||
return $this->parse('/data-version=\'([\d.]+)\'/');
|
||||
return $this->parse('/data-version="([\d.]+)"/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue