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 /OpenSim/Framework/Console/LocalConsole.cs | |
parent | Fix possible infinite recursion in MessageTransferModule.SendGridInstantMessa... (diff) | |
download | opensim-SC_OLD-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.zip opensim-SC_OLD-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.gz opensim-SC_OLD-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.bz2 opensim-SC_OLD-fbcb76383d5083a7a1b4c4ba75d37b247859a87d.tar.xz |
Allow console output to be multiline by making colourization regex RegexOptions.SingleLine
Diffstat (limited to 'OpenSim/Framework/Console/LocalConsole.cs')
-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) |