# HG changeset patch # User Raphael Velt # Date 1334651362 -7200 # Node ID 66426466d9ce73c823e9db28416bb3fe1caa2c9c # Parent eef7cc1bd87a3decee93360bf01205c1bda52e69 added a backslash to stop catching #www2012 as an URL diff -r eef7cc1bd87a -r 66426466d9ce web/res/js/live-polemic.js --- a/web/res/js/live-polemic.js Fri Apr 13 19:20:21 2012 +0200 +++ b/web/res/js/live-polemic.js Tue Apr 17 10:29:22 2012 +0200 @@ -227,7 +227,7 @@ } } - var _urls = tweet.text.match(/(www.|https?:\/\/)[\w./_\-]+/gim), + var _urls = tweet.text.match(/(www\.|https?:\/\/)[\w./_\-]+/gim), _lastpos = 0; if (_urls) { for (var _i = 0; _i < _urls.length; _i++) {