summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-16 21:54:40 +0200
committerraveit65 <[email protected]>2020-04-25 16:58:09 +0200
commitff907379333d135c0d1fd72d78535a830b7bbc9b (patch)
treec548af6e14596c9203969452d00998dd7f174276 /pluma
parenta4e97f5dce3fd69e46a5eace5cc44b44825d2784 (diff)
downloadpluma-ff907379333d135c0d1fd72d78535a830b7bbc9b.tar.bz2
pluma-ff907379333d135c0d1fd72d78535a830b7bbc9b.tar.xz
pluma-utils: Enable multiline mode on regex search
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma-utils.c2
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;