Author: jim++ Date: 2007-03-31 14:22:38 +0200 (Sat, 31 Mar 2007) New Revision: 8058
Modified: trunk/src/gajim.py Log: re-add r'
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2007-03-31 12:21:53 UTC (rev 8057) +++ trunk/src/gajim.py 2007-03-31 12:22:38 UTC (rev 8058) @@ -1753,8 +1753,8 @@ # \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!