#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.Text("

Title

Bold statement

Title B

Other text

My paragraph

"); auto AnyOtherTag = t.Pattern("<{tag}>{text}").SetDescription("other kind of tag"); auto BoldTag = t.Pattern("{text}").SetDescription("bold tag"); auto H3Tag = t.Pattern("

{text}

").SetDescription("h3 tag"); t.Find(); for(auto match : t.Matches()) { cout << match.Text() + " Description: " + match.Rule().Description() << endl; } }