From 8d3420c17c401610f67c5a577dbe08fa9764b088 Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 7 Jun 2010 09:45:12 -0400 Subject: [PATCH] Removed a stray 'v' in a regex --- twitterwidgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitterwidgets.py b/twitterwidgets.py index 14c6f3c..4797e4f 100644 --- a/twitterwidgets.py +++ b/twitterwidgets.py @@ -466,7 +466,7 @@ class TweetBox(gtk.HBox): new_text = re.sub(r"(http://.*?)([^0-9a-zA-Z.~/_?=&-]|$)", r'\1\2', new_text) # Make @ or # refs into links, to be used internally new_text = re.sub(r'@(.*?)([^0-9a-zA-Z_]|$)', self._make_user_link, new_text) - new_text = re.sub(r'#(.*?)([ ;,.:*v]|$)', self._make_hashtag_link, new_text) + new_text = re.sub(r'#(.*?)([ ;,.:*]|$)', self._make_hashtag_link, new_text) self.text.set_markup(new_text) # If this is in reply to something, set appropriate label