Blender: fix regex again

This commit is contained in:
Steffen Lange 2021-10-08 16:31:51 +02:00
parent 83bfc66bbe
commit 7756db3c09

View file

@ -5,8 +5,8 @@ class Blender extends PatchBase {
parent::__construct('Blender Foundation', 'Blender', 'https://www.blender.org/download/'); parent::__construct('Blender Foundation', 'Blender', 'https://www.blender.org/download/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.blender.org/download/')) if ($this->fetch('https://www.blender.org/'))
return $this->parse('/>Changelog for Blender ([\d\.]+[a-z]?)</'); return $this->parse('/>Blender ([\d\.]+)( LTS)?</');
return false; return false;
} }
} }