public static string Escape(string str) { throw null; }
protected static string escape(string text) => RRegex.Escape(text).Replace("]", @"\]");