From ff907379333d135c0d1fd72d78535a830b7bbc9b Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 16 Apr 2020 21:54:40 +0200 Subject: pluma-utils: Enable multiline mode on regex search --- pluma/pluma-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1