[gnome-terminal] screen: Compile dingu regexes with MULTILINE option
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] screen: Compile dingu regexes with MULTILINE option
- Date: Sat, 26 Dec 2015 20:56:15 +0000 (UTC)
commit 2661fc5247d1869727698f8fdfdbc5102e41da30
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 489573b..d786d7e 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -256,7 +256,7 @@ precompile_regexes (const TerminalRegexPattern *regex_patterns,
#ifdef WITH_PCRE2
(*regexes)[i] = vte_regex_new (regex_patterns[i].pattern, -1,
- PCRE2_UTF | PCRE2_NO_UTF_CHECK |
+ PCRE2_UTF | PCRE2_NO_UTF_CHECK | PCRE2_MULTILINE |
(regex_patterns[i].caseless ? PCRE2_CASELESS : 0),
&error);
g_assert_no_error (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]