diff options
author | Justin Clark-Casey (justincc) | 2014-05-23 20:57:50 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-05-23 20:57:50 +0100 |
commit | fbcb76383d5083a7a1b4c4ba75d37b247859a87d (patch) | |
tree | d0aeb6750945bfbd32594130b019e5546073cad5 | |
parent | Fix possible infinite recursion in MessageTransferModule.SendGridInstantMessa... (diff) | |
download | opensim-SC-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.zip opensim-SC-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.gz opensim-SC-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.bz2 opensim-SC-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.xz |
Allow console output to be multiline by making colourization regex RegexOptions.SingleLine
-rw-r--r-- | OpenSim/Framework/Console/LocalConsole.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs index a967db6..b17b8e0 100644 --- a/OpenSim/Framework/Console/LocalConsole.cs +++ b/OpenSim/Framework/Console/LocalConsole.cs | |||
@@ -283,7 +283,7 @@ namespace OpenSim.Framework.Console | |||
283 | { | 283 | { |
284 | string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)"; | 284 | string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)"; |
285 | 285 | ||
286 | Regex RE = new Regex(regex, RegexOptions.Multiline); | 286 | Regex RE = new Regex(regex, RegexOptions.Singleline); |
287 | MatchCollection matches = RE.Matches(text); | 287 | MatchCollection matches = RE.Matches(text); |
288 | 288 | ||
289 | if (matches.Count == 1) | 289 | if (matches.Count == 1) |