Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() '// Capture a function call. '// {@Alpha} matches the name. '// '(' and ')' are Bracket tokens that ensure the content is captured correctly. t.FromTo("{@Alpha:func} ( {args} )", "Call: {func} with {args}") Console.WriteLine(t.Transform("myfunc('Hello World', (x + y) * 2 )")) End Sub End Module