Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chat/box.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat/box.py b/chat/box.py
index 91c33b9..bd8625b 100644
--- a/chat/box.py
+++ b/chat/box.py
@@ -210,7 +210,7 @@ class TextBox(gtk.TextView):
words = text.split()
for word in words:
- if _URL_REGEXP.search(word) is not None:
+ if _URL_REGEXP.match(word) is not None:
tag = buf.create_tag(None,
foreground="blue", underline=pango.UNDERLINE_SINGLE)
tag.set_data("url", word)