TenEditor: update regex

This commit is contained in:
Steffen Lange 2024-10-02 11:29:37 +02:00
parent f2cb0eb0ea
commit a00f610f74

View file

@ -6,7 +6,7 @@ class TenEditor extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://sweetscape.com/010editor/')) if ($this->fetch('https://sweetscape.com/010editor/'))
return $this->parse('/<div class="versiontext">v([\d\.]+)<\/div>/'); return $this->parse('/<div class="version-text">Current:&nbsp;v([\d\.]+)<\/div>/');
return false; return false;
} }
} }