Merge pull request #345 from purpleKarrot/master

compile url_regex with G_REGEX_MULTILINE
This commit is contained in:
jelle van der Waa 2016-06-05 15:12:11 +02:00
commit 3170adffa7
1 changed files with 6 additions and 7 deletions

View File

@ -1400,10 +1400,9 @@ static void set_config(GtkWindow *window, VteTerminal *vte, config_info *info,
} }
if (info->clickable_url) { if (info->clickable_url) {
info->tag = info->tag = vte_terminal_match_add_gregex(vte,
vte_terminal_match_add_gregex(vte,
g_regex_new(url_regex, g_regex_new(url_regex,
G_REGEX_CASELESS, (GRegexCompileFlags)(G_REGEX_CASELESS | G_REGEX_MULTILINE),
G_REGEX_MATCH_NOTEMPTY, G_REGEX_MATCH_NOTEMPTY,
nullptr), nullptr),
(GRegexMatchFlags)0); (GRegexMatchFlags)0);