diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 02ddd0c6..b22769f3 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -30,7 +30,7 @@ function Get-ClangToolVersions { [Parameter(Mandatory = $true)] [string] $ToolName, [string] $VersionLineMatcher = "${ToolName} version", - [string] $VersionPattern = "\d+\.\d+\.\d+)-" + [string] $VersionPattern = "\d+\.\d+\.\d+)" ) $result = Get-CommandResult "apt list --installed" -Multiline @@ -355,4 +355,4 @@ function Get-SystemdVersion { $matches = [regex]::Matches((systemctl --version | head -n 1), "\((.*?)\)") $result = foreach ($match in $matches) {$match.Groups[1].Value} return $result -} \ No newline at end of file +}