We are using OpenFire 4.1.5 in our mobile game. The content filter plugin does not seem to be working. Our regular expressions containing the swear words are correct. We have enabled masking those swear words with *** as well. But the “bad” words are not hidden or masked in our game. We even restarted OpenFire. But the plugin is not working.
Any help or clue in resolving this issue is appreciated.
I have tried (?i)\bhell\b and it worked for me. I also have a few words separated by commas. Not sure about Java version. Maybe this plugin uses regular expressions that are part of Java. Anyway, i tried on 4.2.3 with Java 1.8.0_162.
No, haven’t see such. Content filter is a very old plugin and not updated or maintained in a long time.
I think you should somehow provide the whole expression (upload somewhere) for me to try to reproduce it. And even if i will reproduce it, there are nobody here to fix it most probably.
Just put them all in one line like this https://pastebin.com/nwseH1n7
It seems that Content Filter plugin can’t read expressions with newline characters in them.