all repos — honk @ 3604c44d14b13b7bed79d24303ecc164b1414faf

my fork of honk

require leading alpha for hashtag
Ted Unangst tedu@tedunangst.com
Wed, 28 Aug 2019 11:40:54 -0400
commit

3604c44d14b13b7bed79d24303ecc164b1414faf

parent

1e772429bbbd39e127ff737ccccc495b5755ebc6

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

jump to
M fun.gofun.go

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

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