Dnsmasq: modify regex
This commit is contained in:
parent
72dfe9163a
commit
b48fb3ea61
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue