matterbridge
matterbridge copied to clipboard
Regex question
Describe the bug How can I fix this regex? It worked before but suddenly doesn't anymore.
To Reproduce
Use: replaceMessages=[ ["<(?!img|a)[^>]*>",""], [" "," "] ]
Expected behavior HTML Tags should be filtered out of the message.
Screenshots/debug logs
level=error msg="regexp in msteams.test-teams failed: error parsing regexp: invalid or unsupported Perl syntax: (?!" prefix=gateway
Environment (please complete the following information):
- OS: Ubuntu 22.04
- Matterbridge version: output of
1.26