TotalCommander: Narrowed Regex

This commit is contained in:
Steffen Lange 2020-04-12 20:23:06 +02:00
parent bdf951e1ad
commit 9eaeb5cd3c

View file

@ -6,7 +6,7 @@ class TotalCommander extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.ghisler.com/download.htm')) if ($this->fetch('https://www.ghisler.com/download.htm'))
return $this->parse('/version ([\d\w\.]+) of/'); return $this->parse('/version ([\d\.a-z]+) of/');
return false; return false;
} }
} }