#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); // Rule created with FromTo auto rule1 = t.FromTo("Key: {@Number:val}", "{val}"); // Rule created with Pattern auto rule2 = t.Pattern("<{tag}>{content}"); cout << "Rule 1 Pattern: " << rule1.Pattern() << endl; cout << "Rule 2 Pattern: " << rule2.Pattern() << endl; }