Aligned some regex patterns
This commit is contained in:
parent
dbb6bfdf44
commit
01051b751b
5 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue