diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2010-08-11 00:38:36 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2010-08-11 00:38:36 +0400 |
commit | 0d356666d82efd56be7d551b6a4b60a34ae28dab (patch) | |
tree | 9ec1169d3cdfe2e26658488f6f7ad358d5251803 | |
parent | 1c1c67dc86a85e9429c1f43ff8c220c55f195e6f (diff) |
Partially revert [e9c73ef32827]. see #5675, Fixes #5840
-rw-r--r-- | src/gui_interface.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py index 1fb6c3043..0b43fb708 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -2467,7 +2467,8 @@ class Interface: # FIXME: recognize xmpp: and treat it specially links = r"((?<=\()[A-Za-z][A-Za-z0-9\+\.\-]*:"\ r"([\w\.\-_~:/\?#\[\]@!\$&'\(\)\*\+,;=]|%[A-Fa-f0-9]{2})+"\ - r"(?=\)))|(\w[\w\+\.\-]*:(\S|%[A-Fa-f0-9]{2})+)" + r"(?=\)))|([A-Za-z][A-Za-z0-9\+\.\-]*:([\w\.\-_~:/\?#\[\]@!\$"\ + r"&'\(\)\*\+,;=]|%[A-Fa-f0-9]{2})+)" # 2nd one: at_least_one_char@at_least_one_char.at_least_one_char mail = r'\bmailto:\S*[^\s\W]|' r'\b\S+@\S+\.\S*[^\s\W]' |