gsingers / slack-jira-plugin

A Slack plugin that watches channels for messages about JIRA and acts accordingly
MIT License
252 stars 85 forks source link

Expect configurable pattern to use 2 capturing groups: issue ID and project name, so that pattern can also match context, e.g. requiring \W before and after a match #1

Closed sarowe closed 9 years ago

gsingers commented 9 years ago

It occurs to me that what we really should be doing instead of the config providing the regex, it should simply provide the list of project names. That way, we can generate the proper regex internally and not rely on the regex being of a certain form.