compile url_regex with G_REGEX_MULTILINE
vte_terminal_match_add_gregex wants that to be set. see: https://github.com/thestinger/vte-ng/blob/0.44.1-ng/src/vtegtk.cc#L1718
This commit is contained in:
parent
ff93b3e28d
commit
be3eec81c0
|
@ -1388,10 +1388,9 @@ static void set_config(GtkWindow *window, VteTerminal *vte, config_info *info,
|
|||
}
|
||||
|
||||
if (info->clickable_url) {
|
||||
info->tag =
|
||||
vte_terminal_match_add_gregex(vte,
|
||||
info->tag = vte_terminal_match_add_gregex(vte,
|
||||
g_regex_new(url_regex,
|
||||
G_REGEX_CASELESS,
|
||||
(GRegexCompileFlags)(G_REGEX_CASELESS | G_REGEX_MULTILINE),
|
||||
G_REGEX_MATCH_NOTEMPTY,
|
||||
nullptr),
|
||||
(GRegexMatchFlags)0);
|
||||
|
|
Loading…
Reference in New Issue