private static void Check(Bracket bracket, string example) { Energy.Core.Tilde.WriteLine("Bracket: ~w~{0}", bracket); Energy.Core.Tilde.WriteLine("Expression: ~c~{0}", bracket.MatchExpression); Console.WriteLine(example); int n = 1; foreach (string needle in bracket.Find(example)) { Energy.Core.Tilde.WriteLine("~g~{0,2}~dg~. ~ds~[~y~{1}~ds~]" , n, needle); n++; } Console.WriteLine(); }