Aligned some regex patterns

This commit is contained in:
Steffen Lange 2020-01-10 10:53:11 +01:00
parent dbb6bfdf44
commit 01051b751b
5 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ class VLC extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://www.videolan.org/vlc/download-windows.html'))
return $this->parse('_//get\.videolan\.org/vlc/([\d\.]+)/win32/vlc-[\d\.]+-win32\.exe_');
return $this->parse('_//get\.videolan\.org/vlc/[\d\.]+/win32/vlc-([\d\.]+)-win32\.exe_');
return false;
}
}