this post was submitted on 23 May 2026
6 points (100.0% liked)

Summit

1329 readers
4 users here now

Community to discuss Summit, an open-source Android app for browsing Lemmy and PieFed.

Get the app on the Play Store.

F-Droid

APK / Obtainum

Source code

Support the app

Support me on Patreon

Website: https://summit.idunnololz.com/

founded 3 years ago
MODERATORS
 

I have been using the app filters option to remove some posts I don't care about that are recurring, which is a nice feature.

There are however two problems with it that are sort of related, I don't seem to get it to work filtering combinations of words? E.g. I can filter for "hello" and "world" but when I make a filter for "hello world" it doesn't block anything. Is there a certain way you need to define those or does it just not work?

And since I can only do single word filters I have now the issue that I filter posts I do not mind actually. E.g. by trying to filter "hello world" with just "hello" I am also filtering "hello you". But whenever a post got filtered it does not tell you which filter was applied, it just says "this post is filtered because of a custom filter", or something like that.

Could that message maybe write out the word it filtered so one can see which filter got applied? Since I had wrong posts filtered I am now often checking, which post is behind the filter, but thats kind of removing the purpose of the filter.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] idunnololz@lemmy.world 2 points 1 week ago (1 children)

I figured out the cause. It's because of the setting "match whole word". Because brackets are considered a "word boundary" they cannot be within the match itself.

Think of it like this: when match whole word is on, it will only start checking if something matches after it encounters a word.

So let's say you have the text "[brackets] are cool" and you are looking for "[brackets]" then the search only starts when it sees the "b" so it tries to match "brackets" to "[brackets]" which is obviously not equal so it will fail the match.

The fix is to turn off "match whole word". That setting should only be on for filters that contain a single word. I could look into adding a warning for cases like this.

[โ€“] gedfromgont@piefed.ca 2 points 1 week ago

Woah, interesting, I will try this out. Thanks for looking into it and giving a detailed explanation!