(Default Matching) Identifying any brackets and normalizing them to a standard parentheses.
ID: 923
using uCalcSoftware;
var uc = new uCalc();
var t = new uCalc.Transformer();
t.FromTo("{@Bracket}", "(");
t.FromTo("{@CloseBracket}", ")");
Console.WriteLine(t.Transform("{a, b, c} f(x, y) [1, 2, 3];"));
(a, b, c) f(x, y) (1, 2, 3); using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("{@Bracket}", "("); t.FromTo("{@CloseBracket}", ")"); Console.WriteLine(t.Transform("{a, b, c} f(x, y) [1, 2, 3];"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
uCalc::Transformer t;
t.FromTo("{@Bracket}", "(");
t.FromTo("{@CloseBracket}", ")");
cout << t.Transform("{a, b, c} f(x, y) [1, 2, 3];") << endl;
}
(a, b, c) f(x, y) (1, 2, 3); #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; uCalc::Transformer t; t.FromTo("{@Bracket}", "("); t.FromTo("{@CloseBracket}", ")"); cout << t.Transform("{a, b, c} f(x, y) [1, 2, 3];") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t As New uCalc.Transformer()
t.FromTo("{@Bracket}", "(")
t.FromTo("{@CloseBracket}", ")")
Console.WriteLine(t.Transform("{a, b, c} f(x, y) [1, 2, 3];"))
End Sub
End Module
(a, b, c) f(x, y) (1, 2, 3); Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t As New uCalc.Transformer() t.FromTo("{@Bracket}", "(") t.FromTo("{@CloseBracket}", ")") Console.WriteLine(t.Transform("{a, b, c} f(x, y) [1, 2, 3];")) End Sub End Module