From bf05bec3204cf45008beb93694d410495d6b0be6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sat, 31 Mar 2007 12:22:38 +0000 Subject: [PATCH] re-add r' --- src/gajim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index 83447ae7a..21119a2db 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1753,8 +1753,8 @@ class Interface: # \S*[^\s\W] --> in the matching string don't match ? or ) etc.. if at the end # so http://be) will match http://be and http://be)be) will match http://be)be - prefixes = '|'.join(('http://', 'https://', 'gopher://', 'news://', - 'ftp://', 'ed2k://', 'irc://', 'magnet:', 'sip:', r'www\.', + prefixes = '|'.join((r'http://', r'https://', r'gopher://', r'news://', + r'ftp://', r'ed2k://', r'irc://', r'magnet:', r'sip:', r'www\.', r'ftp\.')) # NOTE: it's ok to catch www.gr such stuff exist!