all repos — honk @ c5e2435df63d27f2d7f6510cb07f104f10bac185

my fork of honk

i will allow hyphens in hashtags
Ted Unangst tedu@tedunangst.com
Tue, 27 Aug 2019 21:44:56 -0400
commit

c5e2435df63d27f2d7f6510cb07f104f10bac185

parent

97d112aad61b5c35e0a18963319c78405d9bb606

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -149,7 +149,7 @@ s := string(b[:])

return s } -var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alnum:]]+`) +var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alnum:]-]+`) func ontologies(s string) []string { m := re_hashes.FindAllString(s, -1)