internal static void Percentage() { Energy.Base.Bracket bracket = new Energy.Base.Bracket("%"); string example = @"Example %parameter1% %parameter2%%% %p:3> <a % % % ... end of example"; Check(bracket, example); }
internal static void Dollar() { Energy.Base.Bracket bracket = new Energy.Base.Bracket("${", "}"); bracket.Include = "\\}"; string example = @"Example $parameter1 ${parameter2} ${a}}} ${a {\} b}"; Check(bracket, example); }
internal static void Angle() { Energy.Base.Bracket bracket = new Energy.Base.Bracket("<>"); bracket.Include = ""; string example = @"Example <parameter1> <parameter2> <p:3> <a><b> <p>>q>"; Check(bracket, example); }