Adjust whitespace token in regexes
This commit is contained in:
parent
73c8b806d7
commit
22646555c9
8 changed files with 8 additions and 8 deletions
|
|
@ -7,7 +7,7 @@ class ClonezillaAlternative extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://clonezilla.org/downloads.php'))
|
||||
return $this->parse('/<b>alternative stable<\/b>[\s]*-[\s]*<font color=red>([\d]+-[a-z]+)/');
|
||||
return $this->parse('/<b>alternative stable<\/b>\s*-\s*<font color=red>([\d]+-[a-z]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue