#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; uCalc::Transformer t; auto source = R"( content spans multiple lines )"; // This rule must disable StatementSensitive to capture the multi-line body, // otherwise the first newline would terminate the {body} variable. auto rule = t.FromTo("{body}", "Body: [{body}]"); rule.StatementSensitive(false); cout << t.Transform(source) << endl; }