#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); // Disable statement sensitivity to handle multi-line content t.DefaultRuleSet().StatementSensitive(false); auto htmlContent = R"( )"; t.Text(htmlContent); // A rule to find all list items t.Pattern("
  • {item}
  • "); // A rule to skip over HTML comments t.SkipOver(""); t.Find(); cout << "--- Found List Items ---" << endl; cout << t.Matches().Text() << endl; }