Freeplane: regex for update releases enhanced
This commit is contained in:
parent
69c10a3ac9
commit
1088a9b19d
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class Freeplane extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue