-
Notifications
You must be signed in to change notification settings - Fork 782
Description
Describe the bug
One of the regexes in explicitSlurRegexes incorrectly matches on the lowercase string faq. (It doesn't match the uppercase string FAQ.) This prevents creating a post with the hashtag #faq, among other similar problems.
This was brought to my attention by this blog post, which isn't by me, but I noticed no one had opened an issue.
The regex in question is the third in the array, which appears to be intending to match a similar-sounding actual slur with a different last letter. Specifically, the character group consisting mostly of g and characters which visually resemble a g also contains a q and several characters which resemble qs.
To Reproduce
Steps to reproduce the behavior:
- Create a post containing a hashtag such as
#faq
Expected behavior
Nothing is flagged.
Since "faq" is short for "frequently asked questions", and since Bluesky hashtags are by convention lowercase, many users would expect to be able to create a post with the hashtag #faq. (In fact, this was discovered by someone linking to a blog post which contained a list of frequently asked questions.)
Details
- Operating system: N/A
- Node version: N/A
Additional context