OpenWrt: fix broken regex

This commit is contained in:
Steffen Lange 2023-10-17 17:02:52 +02:00
parent f505201149
commit bd54777862

View file

@ -6,7 +6,7 @@ class OpenWrt extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://openwrt.org/start'))
return $this->parse('/<strong>Current Stable Release - OpenWrt ([\d\.]+)<\/strong>/');
return $this->parse('/<strong>Current stable release - OpenWrt ([\d\.]+)<\/strong>/');
return false;
}
}