diff -r 8239b6d8417f -r 06d7faebcb8d player/js/metadataplayer-core.js --- a/player/js/metadataplayer-core.js Tue Jun 18 12:22:38 2013 +0200 +++ b/player/js/metadataplayer-core.js Tue Jun 18 17:05:41 2013 +0200 @@ -27,7 +27,9 @@ /* Initialization of the namespace */ if (typeof window.IriSP === "undefined") { - window.IriSP = {}; + window.IriSP = { + VERSION: "0.3.1" + }; } if (typeof IriSP.jQuery === "undefined" && typeof window.jQuery !== "undefined" && parseFloat(window.jQuery().jquery) >= 1.7) { @@ -96,7 +98,7 @@ addToList(_regexp, '', ''); } - addToList(/(https?:\/\/)?\w+\.\w+\S+/gm, function(matches) { + addToList(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm, function(matches) { return '' }, ''); addToList(/@([\d\w]{1,15})/gm, function(matches) {