mattermost-community/mattermost-plugin-autolink

Pattern / Template library

raybellis opened this issue · 0 comments

There are some good examples in the help, but people might find it useful to have a pre-canned selection of rules that they can use.

Here's my contribution, which converts zoom#nnn-nnn-nnnn (optionally without the hyphens) into a link to a Zoom conference room:

Pattern (zoom#(?P<b1>\d{3})-?(?P<b2>\d{3})-?(?P<b3>\d{4}))
Template [Zoom Room ${b1}-${b2}-${b3}](https://zoom.us/j/${b1}${b2}${b3})