diff options
author | Milan Crha <mcrha@redhat.com> | 2012-01-30 21:42:15 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-01-30 21:42:15 +0800 |
commit | 487153b20da1f608ac3a9e2382e8a6769637372e (patch) | |
tree | be703bc7baf4dd83e49e6142e3fae873be127875 /widgets | |
parent | 3dc8b0b52200b236e6f44450ca7913c52b83f85a (diff) | |
download | gsoc2013-evolution-487153b20da1f608ac3a9e2382e8a6769637372e.tar.gz gsoc2013-evolution-487153b20da1f608ac3a9e2382e8a6769637372e.tar.zst gsoc2013-evolution-487153b20da1f608ac3a9e2382e8a6769637372e.zip |
Bug #646430 - New line character is a link separator too
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-buffer-tagger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-buffer-tagger.c b/widgets/misc/e-buffer-tagger.c index bc05525737..cd260252de 100644 --- a/widgets/misc/e-buffer-tagger.c +++ b/widgets/misc/e-buffer-tagger.c @@ -57,12 +57,12 @@ typedef struct _MagicInsertMatch MagicInsertMatch; static MagicInsertMatch mim[] = { /* prefixed expressions */ - { "(news|telnet|nntp|file|http|ftp|sftp|https|webcal)://([-a-z0-9]+(:[-a-z0-9]+)?@)?[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-a-z0-9_$.+!*(),;:@%&=?/~#']*[^]'.}>\\) ,?!;:\"]?)?", NULL, NULL }, + { "(news|telnet|nntp|file|http|ftp|sftp|https|webcal)://([-a-z0-9]+(:[-a-z0-9]+)?@)?[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-a-z0-9_$.+!*(),;:@%&=?/~#']*[^]'.}>\\) \n\r\t,?!;:\"]?)?", NULL, NULL }, { "(sip|h323|callto):([-_a-z0-9.'\\+]+(:[0-9]{1,5})?(/[-_a-z0-9.']+)?)(@([-_a-z0-9.%=?]+|([0-9]{1,3}.){3}[0-9]{1,3})?)?(:[0-9]{1,5})?", NULL, NULL }, { "mailto:[-_a-z0-9.'\\+]+@[-_a-z0-9.%=?]+", NULL, NULL }, /* not prefixed expression */ - { "www\\.[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-A-Za-z0-9_$.+!*(),;:@%&=?/~#]*[^]'.}>\\) ,?!;:\"]?)?", NULL, "http://" }, - { "ftp\\.[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-A-Za-z0-9_$.+!*(),;:@%&=?/~#]*[^]'.}>\\) ,?!;:\"]?)?", NULL, "ftp://" }, + { "www\\.[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-A-Za-z0-9_$.+!*(),;:@%&=?/~#]*[^]'.}>\\) \n\r\t,?!;:\"]?)?", NULL, "http://" }, + { "ftp\\.[-a-z0-9.]+[-a-z0-9](:[0-9]*)?(([.])?/[-A-Za-z0-9_$.+!*(),;:@%&=?/~#]*[^]'.}>\\) \n\r\t,?!;:\"]?)?", NULL, "ftp://" }, { "[-_a-z0-9.'\\+]+@[-_a-z0-9.%=?]+", NULL, "mailto:" } }; |