Follow

Can anyone think of a case where a hashtag with underscores would be meaningfully different from one without? Like, foo_bar and FooBar would clearly be the same.

· · Web · 17 · 3 · 6

@Gargron if we're already case-folding, I don't see how it could hurt

@Gargron the only possibility of that breaking is two underscores in different places

@ben @Gargron I kinda doubt people use underscores to separate words in hashtags, otherwise you'd have the #mans_laughter vs. #manslaughter problem

@Gargron Instead of underscore, would you consider the dash instead? I can't remember who suggested this, but the hashtag writing rules should follow the same as de domain name writing rules. And for some reason, that makes much sense.

@xuv @Gargron i heard somewhere that mastodong discards capitalization in tags which is a good reason to , well, fix that, but also for underscores and hyphens as a workaround

@Gargron You mean a reason socially to use an underscore or programmatically changing the function of a hashtag? If the latter, for example, you could use them to chain hashtags... So that when you click it returns results that contain all terms.

@Gargron how about therapist vs the_rapist? Old snl jeopardy joke but it's the only one I could come up with.

@Gargron

MELONWATER
MelonWater
Melonwater
WATERMELON
WaterMelon
Watermelon
melonWater
melon_water
melonwater
waterMelon
water_melon
watermelon

Unsure of context but if search then it would be useful to simply discount case and delimiters (e.g. -, _) and just include sub-string matches (e.g. melon, water)

If too expensive then use a cheap default and allow users to filter with more expensive queries ala fusejs.io/#live-demo (e.g. location, threshold, distance, pattern length)

Regards

@Gargron Ease of comprehension for those with a reading difficulty or for whom the language of the tags is not their primary language.

@Gargron if people used markdown emphasis underscores in a hashtag, not sure if anyone actually does though, e.g.

@Gargron I think more people are searching for #therapists and not the other term.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!