PatchBot/modules/DokuWiki.php
2021-01-16 18:56:31 +01:00

14 lines
361 B
PHP

<?php
class DokuWiki extends PatchBase {
function __construct() {
parent::__construct('Andreas Gohr', 'DokuWiki', 'https://download.dokuwiki.org/');
}
function check() : bool {
if ($this->fetch('https://www.dokuwiki.org/changes'))
return $this->parse('/Release ([\d-]+[a-z]? (\"|\xE2\x80\x9C)[A-Za-z ]+(\"|\xE2\x80\x9D))/');
return false;
}
}
?>