diff --git a/apps/common/main/lib/view/Comments.js b/apps/common/main/lib/view/Comments.js index d3fefb834..dd04ce064 100644 --- a/apps/common/main/lib/view/Comments.js +++ b/apps/common/main/lib/view/Comments.js @@ -806,7 +806,7 @@ define([ }, pickEMail: function (commentId, message) { - var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._]+\.[A-Z]+\b/gi); + var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._-]+\.[A-Z]+\b/gi); arr = _.map(arr, function(str){ return str.slice(1, str.length); });