In tokenize-ps3.ps1 it is no longer possible to use environment variables as replacement strings.
It was possible in tokenize.ps1 thanks to the following lines:
if (Test-Path env:$matchedItem) {
$variableValue = (get-item env:$matchedItem).Value
Write-Verbose "Found custom variable '$matchedItem' in build or release definition with value '$variableValue'"
}