[gnome-terminal] screen: Compile dingu regexes with MULTILINE option



commit 9e0ea90e3e305611366a2e735e23e277c58057fa
Author: Christian Persch <chpe gnome org>
Date:   Sat Dec 26 21:50:14 2015 +0100

    screen: Compile dingu regexes with MULTILINE option

 src/terminal-screen.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 8d69f27..489573b 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -269,6 +269,7 @@ precompile_regexes (const TerminalRegexPattern *regex_patterns,
 #else
       (*regexes)[i] = g_regex_new (regex_patterns[i].pattern,
                                    G_REGEX_OPTIMIZE |
+                                   G_REGEX_MULTILINE |
                                    (regex_patterns[i].caseless ? G_REGEX_CASELESS : 0),
                                    0, &error);
       g_assert_no_error (error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]