Updated: Just use qutebrowser (and disable javascript). The web is done for.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#powershell script port of https://github.com/maxhauser/semver/ | |
function toSemVer($version){ | |
$version -match "^(?<major>\d+)(\.(?<minor>\d+))?(\.(?<patch>\d+))?(\-(?<pre>[0-9A-Za-z\-\.]+))?(\+(?<build>[0-9A-Za-z\-\.]+))?$" | Out-Null | |
$major = [int]$matches['major'] | |
$minor = [int]$matches['minor'] | |
$patch = [int]$matches['patch'] | |
if($matches['pre'] -eq $null){$pre = @()} | |
else{$pre = $matches['pre'].Split(".")} |