OpenWrt: fix broken regex
This commit is contained in:
parent
f505201149
commit
bd54777862
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class OpenWrt extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://openwrt.org/start'))
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue