So at the end of my function I do:
$assemblyVersionLine -match "(d+.)(d+.)(d+.)(*|d+)"
$assemblyVersion = $matches[0]
$true
$assemblyVersion
}
Prior to this there are only assignments.
The result variable:
$result
Has these values:
True
True
1.0.0.0
Why?
I expect only
True
1.0.0.0
