Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2012-04-12 17:11:21 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2012-04-12 17:11:21 (GMT)
commita4237d4e4e8debcf5f0d08b66ca273382c2b62aa (patch)
tree56dee5f4fa252897907ee9baeb3c033a791fa267
parent06bf8d5ed3035a2f091b7b4488b2e26391c79c65 (diff)
adding match instead of search based on humitos patch to chat
-rw-r--r--chatbox.py2
1 files changed, 1 insertions, 1 deletions
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()]