Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Toal <iantoal@microsoft.com>2019-05-31 18:32:00 +0300
committerIan Toal <iantoal@microsoft.com>2019-05-31 18:32:00 +0300
commite4912767c44a353a06d17590ba5bda52cad0a241 (patch)
treeb26c1d2ee500b88fc7aba185a12cad8a7834cd87
parent4f81e6682446fd7ee61512adc85cfc8e45e98cdd (diff)
Enable compiled regex
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs
index 2729ccff75..88987cf81a 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/LogView.cs
@@ -59,7 +59,7 @@ namespace MonoDevelop.Ide.Gui.Components
QueuedTextWrite lastTextWrite;
GLib.TimeoutHandler outputDispatcher;
bool outputDispatcherRunning = false;
- readonly Regex consoleTextSanitizerRegex = new Regex ("(\\e[[0-9]*m)|(\b)");
+ readonly Regex consoleTextSanitizerRegex = new Regex ("(\\e[[0-9]*m)|(\b)", RegexOptions.Compiled);
const int MAX_BUFFER_LENGTH = 4000 * 1024;