Dnsmasq: modify regex

This commit is contained in:
Steffen Lange 2026-05-19 17:57:57 +02:00
parent 72dfe9163a
commit b48fb3ea61

View file

@ -6,7 +6,7 @@ class Dnsmasq extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('http://www.thekelleys.org.uk/dnsmasq/')) if ($this->fetch('http://www.thekelleys.org.uk/dnsmasq/'))
return $this->parse('/"LATEST_IS_([\d\.]+)"/'); return $this->parse('/"LATEST_IS_([\d\.]+(rel\d+)?)"/');
return false; return false;
} }
} }