Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a rich syntax language or directives for spam keywords #2032

Open
engram-design opened this issue Aug 22, 2024 · 0 comments
Open

Provide a rich syntax language or directives for spam keywords #2032

engram-design opened this issue Aug 22, 2024 · 0 comments
Milestone

Comments

@engram-design
Copy link
Member

Currently defining spam keywords are incredibly basic, and the most common issue is that they partially match. So if you wanted to catch the word ass and a user provides assistance, brass, grasshopper (and of course many more) are going to match due to the word being at the start, middle or end of a string.

Now we could provide settings to match whole words or not, but a more rich syntax would be ideal to define rules per-line in text. For example, you might want to make some rules like:

  • Exclude the word ass as a whole word
  • Exclude the word hamper anywhere in the text
  • Exclude words starting with, or ending with certain text

I'll see what options are out there as well, to build off ideas from others! It may very well be the case that we're over-complicating things and just need a whole-word or occurrence matching setting for keywords.

@engram-design engram-design added this to the 2.2.0 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant