[feat] Regex-based post filtration #273
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#273
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
Users should have an option to create filters for posts that use regex, for more precise post filtration. Probably should be separate from word-based filtration so less technically-inclined users (or, frankly, people who just can't be assed to use regex in general) aren't forced to figure out how regex works and to rework all their existing filters.
The reasoning
I've had issues with some filters of mine hitting false positives before that would be fixed by being able to use regex filtration instead, with one notable example being my filter for
RT @
, intended to filter out crossposted retweets, but instead I've had some instances of posts with people typing out a word that ends in -rt and then @ mentioning someone being filtered out this way. I've had other similar things happen with other filters of mine, but I'm admittedly drawing a blank on any other examples. Unsure if I've heard anyone else mention wanting this, but certainly this has to have been a problem some other people have encountered before.Have you searched for this feature request?
alternatively we could just have special syntax to denote that a line's a regex, like elixir's
~r/whatever/
pretty sure this is going to have to be in the backend, mutes aren't just a frontend hide
gonna hard-veto this ever going into the backend, no way running user-generated regex is a good idea