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