using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("a", "*a good*"); // Case 1: A match occurs, text is modified. t.Text = "This is a test"; t.Transform(); Console.WriteLine($"Modified: {t.WasModified}"); // Case 2: No match occurs, text is unchanged. t.Text = "This is another test"; t.Transform(); Console.WriteLine($"Modified: {t.WasModified}");