Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Fixed hash-tags
Browse files Browse the repository at this point in the history
Closes #337
  • Loading branch information
zhukov committed Jun 21, 2014
1 parent 9b620ba commit 9540d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -2926,7 +2926,7 @@ angular.module('myApp.services', [])
emojiMap[emojiData[emojiCode][0]] = emojiCode;
}

var regExp = new RegExp('((?:(ftp|https?)://|(?:mailto:)?([A-Za-z0-9._%+-]+@))(\\S*\\.\\S*[^\\s.;,(){}<>"\']))|(\\n)|(' + emojiUtf.join('|') + ')|(^|\s)(#[A-Za-z0-9\_\.]{4,20})', 'i');
var regExp = new RegExp('((?:(ftp|https?)://|(?:mailto:)?([A-Za-z0-9._%+-]+@))(\\S*\\.\\S*[^\\s.;,(){}<>"\']))|(\\n)|(' + emojiUtf.join('|') + ')|(^|\\s)(#[A-Za-z0-9\_\.]{4,20})', 'i');
var youtubeRegex = /(?:https?:\/\/)?(?:www\.)?youtu(?:|.be|be.com|.b)(?:\/v\/|\/watch\\?v=|e\/|\/watch(?:.+)v=)(.{11})(?:\&[^\s]*)?/;

return {
Expand Down

0 comments on commit 9540d42

Please sign in to comment.