From a4237d4e4e8debcf5f0d08b66ca273382c2b62aa Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Thu, 12 Apr 2012 17:11:21 +0000 Subject: adding match instead of search based on humitos patch to chat --- (limited to 'chatbox.py') diff --git a/chatbox.py b/chatbox.py index a2fbbd0..671ba09 100644 --- a/chatbox.py +++ b/chatbox.py @@ -167,7 +167,7 @@ class ChatBox(hippo.CanvasScrollbars): if status_message: self._last_msg_sender = None - match = URL_REGEXP.search(text) + match = URL_REGEXP.match(text) while match: # there is a URL in the text starttext = text[:match.start()] -- cgit v0.9.1