diff --git a/triggers/github.js b/triggers/github.js index d7cbb47..0f1c699 100644 --- a/triggers/github.js +++ b/triggers/github.js @@ -1,7 +1,7 @@ var app = require('../app.js'); var logger = require('../logging.js'); -var regex = /\#\d+./; +var regex = /[^\<]\#\d+[^\>]/; exports.trigger = function(message) { return regex.test(message.content);