private function isNonStableVersion($version) { return (bool) preg_match('/^(\\d+)\\.(\\d+)\\.(\\d+)-.{1,4}(\\d+)$/', $version); }