diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2012-04-12 17:11:21 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2012-04-12 17:11:21 (GMT) |
commit | a4237d4e4e8debcf5f0d08b66ca273382c2b62aa (patch) | |
tree | 56dee5f4fa252897907ee9baeb3c033a791fa267 | |
parent | 06bf8d5ed3035a2f091b7b4488b2e26391c79c65 (diff) |
adding match instead of search based on humitos patch to chat
-rw-r--r-- | chatbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()] |