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.go
namestring_test.go
paging.go
statustools.go [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
statustools_test.go [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
time.go
time_test.go
unique.go