David Yip 4b68e82a19 Don't add \b to whole-word keywords that don't start with word characters.
Ditto for ending with \b.

Consider muting the phrase "(hot take)".  I stipulate it is reasonable
to enter this with the default "match whole word" behavior.  Under the
old behavior, this would be encoded as

    \b\(hot\ take\)\b

However, if \b is before the first character in the string and the first
character in the string is not a word character, then the match will
fail.  Ditto for after.  In our example, "(" is not a word character, so
this will not match statuses containing "(hot take)", and that's a very
surprising behavior.

To address this, we only add leading and trailing \b to keywords that
start or end with word characters.
2017-10-22 00:38:54 -05:00
2017-10-18 11:52:04 -05:00
2016-02-20 22:53:20 +01:00
2016-02-20 22:53:20 +01:00
2017-07-14 20:30:12 +02:00
2017-07-27 22:30:27 +02:00
2017-07-27 22:30:27 +02:00
2017-04-15 02:05:41 +02:00
2016-02-25 00:17:01 +01:00
2017-07-27 22:30:27 +02:00
2017-10-12 19:07:35 +09:00
2017-07-14 09:42:50 -07:00
2017-10-18 11:52:04 -05:00
2016-02-20 22:53:20 +01:00
2017-10-07 21:20:59 +02:00

Mastodon Glitch Edition

Now with automated deploys!

Build Status

So here's the deal: we all work on this code, and then it runs on dev.glitch.social and anyone who uses that does so absolutely at their own risk. can you dig it?

Description
A glitchy but lovable microblogging server
https://toot-lab.reclaim.technology/
Readme AGPL-3.0
Languages
Ruby 49%
JavaScript 26.4%
TypeScript 13.2%
SCSS 7.7%
Haml 3.4%
Other 0.3%