diff --git a/AnovSyntax/Anov.cs b/AnovSyntax/Anov.cs index f07a0e8..17436ce 100644 --- a/AnovSyntax/Anov.cs +++ b/AnovSyntax/Anov.cs @@ -13,6 +13,11 @@ public static string Read(string str) Match match; string _return = ""; + // Read "[conversation-content]" + match = Regex.Match(str, @"\[(.*?)\]"); + if (match.Success) + return " \"" + match.Groups[1].Value.Trim() + "\""; + // Unsupported // Read "> place" match = Regex.Match(str, @"> (.*)"); @@ -48,11 +53,6 @@ public static string Read(string str) if (match.Success) _return += " (" + match.Groups[1].Value.Trim() + ")"; - // Read "[conversation-content]" - match = Regex.Match(str, @"\[(.*?)\]"); - if (match.Success) - _return += " \"" + match.Groups[1].Value.Trim() + "\""; - return _return; } }