SublimeText: Simplify regex
This commit is contained in:
parent
4cc53043b0
commit
e1f0163754
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class SublimeText3 extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.sublimetext.com/3'))
|
||||
return $this->parse('/<p class="latest">.+Build ([\d]+)<\/p>/');
|
||||
return $this->parse('/<p class="latest">.+Build (\d+)<\/p>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue