#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   uCalc::Transformer t;
   t.FromTo("Log [ERROR] entry", "MATCHED");

   // This matches because the optional word is present
   cout << t.Transform("Log ERROR entry found.") << endl;

   // This also matches because the word is optional
   cout << t.Transform("Log entry found.") << endl;
}