Dear @Hypolite Petovan I have to nag you directly as there are no issues for the nsfw Filter.
It does not filter tags only, it was also triggert bei a server name. You can see the thread here, but it is in German: friendica.opensocial.space/dis…
The filter was not triggert in the original post but in the responses to it. I filtered for "vegan" and the instance address is "veganism.social". Perhaps the filter should ignore handles or scan the post text only.
Thank you for reading this and 🎄!
Hypolite Petovan
in reply to VegOS • • •@VegOS In the replies, the post text includes the handle (either in the raw BBCode or in the HTML profile link), so it is scanned alright.
I’d rather not introduce exceptions in the NSFW addon as it is meant to be as simple as possible. For more specific uses, please use the Advanced Filter Addon where you can define regular expressions. In this case, you’d want “vegan” to be its own word, which wouldn’t match “veganism”.
VegOS
in reply to Hypolite Petovan • • •Something like
!@*@*.*Vegan could be*vegan*, if you get my idiotular expressions.Hypolite Petovan
in reply to VegOS • • •@VegOS To match “vegan” as a word, you can use the following expression:
\bvegan\b\brepresents a non-word character, including the beginning and the end of the subject. The following simplified texts will be matched:VegOS
in reply to Hypolite Petovan • • •Hypolite Petovan
in reply to VegOS • • •Jonathan Lamothe
in reply to Hypolite Petovan • •/\bvegan(ism)?\b/?Hypolite Petovan
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Hypolite Petovan • •Hypolite Petovan likes this.
VegOS
in reply to VegOS • • •Filtered word: nsfw
\bvegan\bcollapses half on my timeline. But I looked at my entry in nsfw filter and found#veganandvegan. I removedveganand everything looks OK. 🎉Hypolite Petovan likes this.