From 56e617f219e34a0bc88099fa2bf93aaaa74c2a3a Mon Sep 17 00:00:00 2001 From: Markus Palme Date: Fri, 15 Aug 2008 14:42:30 +0000 Subject: [PATCH] fixed SD2-1441 Regular expression search doesn't work as expected git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3368 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Engine/SearchStrategy/RegExSearchStrategy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddIns/Misc/SearchAndReplace/Project/Engine/SearchStrategy/RegExSearchStrategy.cs b/src/AddIns/Misc/SearchAndReplace/Project/Engine/SearchStrategy/RegExSearchStrategy.cs index f75752ac4c..ebb9db8150 100644 --- a/src/AddIns/Misc/SearchAndReplace/Project/Engine/SearchStrategy/RegExSearchStrategy.cs +++ b/src/AddIns/Misc/SearchAndReplace/Project/Engine/SearchStrategy/RegExSearchStrategy.cs @@ -18,7 +18,7 @@ namespace SearchAndReplace public bool CompilePattern(IProgressMonitor monitor) { - RegexOptions regexOptions = RegexOptions.Compiled; + RegexOptions regexOptions = RegexOptions.Compiled | RegexOptions.Multiline; if (!SearchOptions.MatchCase) { regexOptions |= RegexOptions.IgnoreCase; }