GoToSocial/internal/util
ugla 52109776f6
[bugfix] Fix unicode-unaware word boundary check in hashtags (#1049)
* [bugfix] Fix unicode-unaware word boundary check in hashtag regex

Go `\b` does not care for Unicode, and without lookahead, the workarounds got
very ugly. So I replaced the regex with a parser.

The parser runs in O(n) time and performance should not be affected.

* [bugfix] Add back hashtag max length and add tests for it
2022-11-15 16:05:34 +01:00
..
namestring_test.go
namestring.go
paging.go [chore] Make paging logic more generic (#901) 2022-10-10 15:52:49 +02:00
statustools_test.go [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
statustools.go [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
time_test.go
time.go [chore] Use shorter timestamps in frontend for replies (#875) 2022-10-02 15:54:42 +02:00
unique.go