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

First paragraph.

Content
"); // Pattern to find any simple HTML-like tag t.Pattern("<{tag}>{content}"); t.Find(); auto matches = t.Matches(); cout << "Found " << matches.Count() << " tags:" << endl; for(auto match : t.Matches()) { cout << "- " << match.Text() << endl; } }