Skip to main content


meta: regex filters

So, I like to set filters that automatically collapse certain posts that I may or may not have the mental bandwidth to engage with at any given time. Friendica lets me do this by regex, but some of them are kinda ugly

Take my Elon filter for instance. I could filter on /elon/i, but that would falsely trigger on common words like 'melon' or 'belong'. I finally settled on /^(.*[^a-z])?elon([^a-z].*)?$/i, but that feels overly complicated. Is there a better solution?

Edit: proofreading is for suckers.

in reply to Jonathan Lamothe

meta: regex filters

Sensitive content

in reply to Jonathan Lamothe

meta: regex filters

Sensitive content

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.