Adjust whitespace token in regexes

This commit is contained in:
Steffen Lange 2021-01-21 15:56:30 +01:00
parent 73c8b806d7
commit 22646555c9
8 changed files with 8 additions and 8 deletions

View file

@ -7,7 +7,7 @@ class ClonezillaStable extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://clonezilla.org/downloads.php'))
return $this->parse('/<b>stable<\/b>[\s]*-[\s]*<font color=red>([\d\.-]+)/');
return $this->parse('/<b>stable<\/b>\s*-\s*<font color=red>([\d\.-]+)/');
return false;
}
}