It seems your raw Twt looks like this:
2020-09-05T12:01:08Z @<lukem https://twtxt.net/user/lukem/twtxt.txt> (#<bvykn5a https://twtxt.net/search?tag=bvykn5a>) cc @<prologic https://twtxt.net/user/prologic/twtxt.txt> re [this](https://github.com/jointwt/twtxt/issues/167#<issuecomment-687589760 https://twtxt.net/search?tag=issuecomment-687589760>)
\n2020-09-05T12:01:08Z\t@<lukem https://twtxt.net/user/lukem/twtxt.txt> (#<bvykn5a https://twtxt.net/search?tag=bvykn5a>) cc @<prologic https://twtxt.net/user/prologic/twtxt.txt> re [this](https://github.com/jointwt/twtxt/issues/167#<issuecomment-687589760 https://twtxt.net/search?tag=issuecomment-687589760>)\n
It seems your raw Twt looks like this:
2020-09-05T12:01:08Z @<lukem https://twtxt.net/user/lukem/twtxt.txt> (#<bvykn5a https://twtxt.net/search?tag=bvykn5a>) cc @<prologic https://twtxt.net/user/prologic/twtxt.txt> re [this](https://github.com/jointwt/twtxt/issues/167#<issuecomment-687589760 https://twtxt.net/search?tag=issuecomment-687589760>)
2020-09-05T12:01:08Z\t@<lukem https://twtxt.net/user/lukem/twtxt.txt> (#<bvykn5a https://twtxt.net/search?tag=bvykn5a>) cc @<prologic https://twtxt.net/user/prologic/twtxt.txt> re [this](https://github.com/jointwt/twtxt/issues/167#<issuecomment-687589760 https://twtxt.net/search?tag=issuecomment-687589760>)
func ExpandTag(conf *Config, db Store, user *User, text string) string {
- re := regexp.MustCompile(`#([-\w]+)`)
+ re := regexp.MustCompile(`[( ,;]#([-\w]+)`)
func ExpandTag(conf *Config, db Store, user *User, text string) string {
- re := regexp.MustCompile(`#([-\w]+)`)
+ re := regexp.MustCompile(`[( ,;]#([-\w]+)`)
\n func ExpandTag(conf *Config, db Store, user *User, text string) string {\n- re := regexp.MustCompile(
#([-\\w]+))\n+ re := regexp.MustCompile(
[( ,;]#([-\\w]+))\n
func ExpandTag(conf *Config, db Store, user *User, text string) string {
- re := regexp.MustCompile(`#([-\\w]+)`)
+ re := regexp.MustCompile(`[( ,;]#([-\\w]+)`)
\n func ExpandTag(conf *Config, db Store, user *User, text string) string {\n- re := regexp.MustCompile(
#([-\\w]+))\n+ re := regexp.MustCompile(
[( ,;]#([-\\w]+))\n