diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index 980c3d5..4a79d10 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -644,7 +644,9 @@ function(jQuery, Paths, URI, HostApp, Cache) { var text = node.innerHTML; var mentions_in_text = []; - var res = text.match(/(\^[\w:/]+\.[\w:/.]+(?:[\w]))/ig); + + var res = text.match(/(\^[\w:/.]+(?:[\w]))/ig); + if (res) { for (var i = 0; i < res.length; i++) { var name = res[i];