Adjust whitespace token in regexes
This commit is contained in:
parent
73c8b806d7
commit
22646555c9
8 changed files with 8 additions and 8 deletions
|
|
@ -6,7 +6,7 @@ class DOSBox extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.dosbox.com/download.php?main=1'))
|
||||
return $this->parse('/Latest version:\s+<a class="bold" href="download\.php\?main=1">([\d\.-]+)<\/a>/');
|
||||
return $this->parse('/Latest version:\s*<a class="bold" href="download\.php\?main=1">([\d\.-]+)<\/a>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue