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 PHP extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://www.php.net/downloads.php'))
return $this->parse('_Current Stable</span>[\s]*PHP ([\d\.]+)_');
return $this->parse('/Current Stable<\/span>[\s]*PHP ([\d\.]+)/');
return false;
}
}