diff options
-rw-r--r-- | pluma/pluma-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-utils.c b/pluma/pluma-utils.c index 761d0c71..5e4b7cfb 100644 --- a/pluma/pluma-utils.c +++ b/pluma/pluma-utils.c @@ -1573,7 +1573,7 @@ pluma_gtk_text_iter_regex_search (const GtkTextIter *iter, gboolean found; match_string = ""; - compile_flags = 0; + compile_flags = G_REGEX_OPTIMIZE | G_REGEX_MULTILINE; if ((flags & GTK_TEXT_SEARCH_CASE_INSENSITIVE) != 0) compile_flags |= G_REGEX_CASELESS; |