Fix .clap
Closed this issue ยท 10 comments
is broken
Get ๐ this ๐ fixed ๐ ASAP! ๐
We ๐ are ๐ going ๐ to ๐ build ๐ a ๐ wall ๐ and ๐ make ๐ them ๐ pay ๐ for ๐ it!
it doesn't work for things like:
. .
What's the desired output for a__b
(ie, multiple spaces between things). Is it:
a_๐_b
(ie. spaces are joined together)a_๐_๐_b
(ie. each space gets its own clap)a_๐__b
(ie. the extra space is kept but there's a clap too)
IMO (1) above looks best, and also has an easy implementation of just splitting the input string by _
, then joining up all parts of len > 0 with a _๐_
. No dorty regular expressions.
a_๐_b ๐
Haha
seriously though
I am serious. I think the claps should at least be mapped to each word, if not each syllable. Having to subtract 1 feels unnatural to me.
Hahaha
Back in the real world, though
That's a different issue, tbh, but it seems it can be solved with a complicated per-user clap preference file that I'd be happy to implement.