mirror of https://github.com/djcb/mu.git
mu-msg-sexp: Improve list-post regexp
This should catch some more addresses.
This commit is contained in:
parent
4abfc8d2a4
commit
61d61566ab
|
@ -177,7 +177,8 @@ maybe_append_list_post (GString *gstr, MuMsg *msg)
|
|||
if (!list_post)
|
||||
return;
|
||||
|
||||
rx = g_regex_new ("<?mailto:([a-z0-9%+@._-]+)>?", G_REGEX_CASELESS, 0, NULL);
|
||||
rx = g_regex_new ("<?mailto:([a-z0-9!@#$%&'*+-/=?^_`{|}~]+)>?",
|
||||
G_REGEX_CASELESS, (GRegexMatchFlags)0, NULL);
|
||||
g_return_if_fail(rx);
|
||||
|
||||
if (g_regex_match (rx, list_post, 0, &minfo)) {
|
||||
|
|
Loading…
Reference in New Issue