#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.FromTo("start {etc} end", "<{@Self}>"); t.FromTo("start2 {etc~} end", "<{@Self}>"); cout << t.Transform("start start2 a b c end end") << endl; cout << t.Transform("start2 start a b c end end") << endl; }