PatchBot/modules/StrawberryPerl.php

14 lines
354 B
PHP

<?php
class StrawberryPerl extends PatchBase {
function __construct() {
parent::__construct('Adam Kennedy', 'Strawberry Perl', 'https://strawberryperl.com/');
}
function check() : bool {
if ($this->fetch('https://strawberryperl.com/'))
return $this->parse('_/download/[\d\.]+/strawberry-perl-([\d\.]+)-\d+bit\.msi_');
return false;
}
}
?>