Freeplane: regex for update releases enhanced

This commit is contained in:
Steffen Lange 2023-01-18 13:15:47 +01:00
parent 69c10a3ac9
commit 1088a9b19d

View file

@ -6,7 +6,7 @@ class Freeplane extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch_json('https://sourceforge.net/projects/freeplane/best_release.json')) if ($this->fetch_json('https://sourceforge.net/projects/freeplane/best_release.json'))
return $this->parse_json('filename', '/-([\d\.]+)\.[a-z]+$/'); return $this->parse_json('filename', '/-([\d\.]+[u\d]*)\.[a-z]+$/');
return false; return false;
} }
} }