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

bullet-2.82
Justin Clark-Casey (justincc) 2014-05-23 20:57:50 +01:00
parent 72c67c5091
commit fbcb76383d
1 changed files with 1 additions and 1 deletions

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)