Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t As New uCalc.Transformer()
Dim source = "
content spans
multiple lines
"
'// This rule must disable StatementSensitive to capture the multi-line body,
'// otherwise the first newline would terminate the {body} variable.
Dim rule = t.FromTo("{body}", "Body: [{body}]")
rule.StatementSensitive = false
Console.WriteLine(t.Transform(source))
End Sub
End Module