OPNsense: update regex

This commit is contained in:
Steffen Lange 2025-03-29 23:14:43 +01:00
parent 863d63e605
commit 7fe3791456

View file

@ -6,7 +6,7 @@ class OPNsense extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://opnsense.org/download/')) if ($this->fetch('https://opnsense.org/download/'))
return $this->parse('/data-version=\'([\d.]+)\'/'); return $this->parse('/data-version="([\d.]+)"/');
return false; return false;
} }
} }