mattermost-community/mattermost-plugin-autolink

Patterns with < > in the pattern for naming of variables break

Closed this issue · 1 comments

thoro commented

I got a pattern with <> : (?P<ticket>(CREAM|INFRA|CFIT|SET|PMO|PSM)\\-[0-9]+)

And it's saved as (?P\u003cticket\u003e(CREAM|INFRA|CFIT|SET|PMO|PSM)\\-[0-9]+) in the config.json

\autolink list displays it completely mangled as:

Pattern: (?P[INFRA|CFIT|SET|PMO|PSM)\-[0-9]+)

Plugin Version: 1.2.2
Mattermost Version: 5.34.0

Duplicate of #97