Allow console output to be multiline by making colourization regex RegexOptions.SingleLine

This commit is contained in:
Justin Clark-Casey (justincc)
2014-05-23 20:57:50 +01:00
parent 72c67c5091
commit fbcb76383d

View File

@@ -283,7 +283,7 @@ namespace OpenSim.Framework.Console
{
string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)";
Regex RE = new Regex(regex, RegexOptions.Multiline);
Regex RE = new Regex(regex, RegexOptions.Singleline);
MatchCollection matches = RE.Matches(text);
if (matches.Count == 1)