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; }