Closed isc-tleavitt closed 1 month ago
v0.7.x has, in %ZPM.PackageManager.Developer.Module:%Evaluate,
Set regex = ##class(%Regex.Matcher).%New("#\{([^}]+)\}", tAttrValue) While regex.Locate() { Set expr = regex.Group(1) Set value = ..%EvaluateExpression(expr) Set $Extract(tAttrValue, regex.Start, regex.End - 1) = value Set regex.Text = tAttrValue } Quit tAttrValue } Method %EvaluateExpression(pExpr) As %String [ Internal ] { Try { return @pExpr } Catch ex { } Return "" }
This has been removed in v0.9.x, perhaps intentionally. Need to figure out if we're documenting or restoring this feature.
Fixed in v1 by #556
v0.7.x has, in %ZPM.PackageManager.Developer.Module:%Evaluate,
This has been removed in v0.9.x, perhaps intentionally. Need to figure out if we're documenting or restoring this feature.