TenEditor: update regex
This commit is contained in:
parent
f2cb0eb0ea
commit
a00f610f74
1 changed files with 1 additions and 1 deletions
|
|
@ -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: v([\d\.]+)<\/div>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue