Skip to content

Commit

Permalink
Fix the regexp ... again
Browse files Browse the repository at this point in the history
  • Loading branch information
caasi committed Dec 31, 2017
1 parent f2d1a0f commit 8eacb39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/emoji.js
Expand Up @@ -88,7 +88,7 @@
':wagl:': '<img class="emojione" alt=":wagl:" src="//emoji.slack-edge.com/T02G2SXKM/wagl/00993845a9b03a5d.png" />'
};

exp = /\:\S+\:/g;
exp = /\:\S+\:(?!")/g;
emoji = function(msg) {
var m, result, alias;

Expand Down
2 changes: 1 addition & 1 deletion utils/emoji-updater/index.js
Expand Up @@ -39,7 +39,7 @@ process.stdin.on('end', function() {
${ emoji.join(',\n ') }
};
exp = /\\:\\S+\\:/g;
exp = /\\:\\S+\\:(?!")/g;
emoji = function(msg) {
var m, result, alias;
Expand Down

0 comments on commit 8eacb39

Please sign in to comment.