Directory Studio: fix regex
This commit is contained in:
parent
aeb0e4289d
commit
1f6814cdf3
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class ApacheDirectoryStudio extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://directory.apache.org/studio/'))
|
if ($this->fetch('https://directory.apache.org/studio/'))
|
||||||
return $this->parse('/<b>Download Apache<br>Directory Studio ([\d\.]+[-M\d]*)<\/b>/');
|
return $this->parse('/>Version ([\d\.]+[-M\d]*)</');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue